How to define 12pm everyday as UNIX timestamp?
Posted: Sun Mar 02, 2003 12:59 pm
I have a script which checks the time() and compares it with a another time, and if the time() now is past the trigger point (12 midday) then it should update the database.
My problem is finding a way of defining the unix timestamp for 12 midday. Is there a date function that I can use where I plug in (12,00) and it lets me know the unix timestamp for 12 midday on that day? If so then I can't seem to find it in the php manual.
Anyone got a clue how I might achieve this?
My problem is finding a way of defining the unix timestamp for 12 midday. Is there a date function that I can use where I plug in (12,00) and it lets me know the unix timestamp for 12 midday on that day? If so then I can't seem to find it in the php manual.
Anyone got a clue how I might achieve this?