Hi, i’m currently working on an extension for a content management system. Times entered through the system’s backend are inserted into the database in the following format:
34200
To keep everything consistent I want my code to enter times in the same format but I’m having trouble replicating it.
This is the code i’m using to generate my time:
$etime = strtotime("+" . $count . " minutes", $ticket_start);
Which outputs the time as:
1315645200
I’ve had a look through the documentation for the CMS, but it’s not particually well documented in English.
Can anyone on here tell me just from looking at the time string how I can replicate the format?
Thanks