CalcBuilder Forum

data time

User bsnline 2018-04-05 20:39:53

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

Moonsoft support 2018-04-06 09:42:08

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

User bsnline 2018-04-06 17:34:29

Okay !
Thank you very much !

...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
...
List Manager

Build different lists for your site

Buy now!