Moonsoft Software Solutions

data time

Started 5 Apr 2018 · 2 replies

  1. bsnline
    Hi,
    I have to insert a quote date to field "description hihashop"
    the code is correct for get date?

    $data=DateTime::getTimestamp;
    $dataprev=$data->format('d/m/y');

    thank you
  2. Moonsoft support
    Hi,
    you have the date function you could use directly:

    $dataprev=date('d/m/y');

    Here official info and examples:

    http://php.net/manual/en/function.date.php

    Hope this helps, regards
  3. bsnline
    Okay !
    Thank you very much !

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket