Jump to content

mktime or turn time into number


project3

Recommended Posts

what I have is time in 12 hour format.

I want to turn it into a numeric value so I can do a > or < comparison.

 

I am familiar on using mktime with 24 hour format. but with 12 hour format im not sure where you would put the am pm part in.

 

I thought there was a time string to timestamp command in php but I cant seem to find what im looking for.

 

Link to comment
https://forums.phpfreaks.com/topic/89847-mktime-or-turn-time-into-number/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.