PDA

View Full Version : PHP Date to UNIX utility


08-30-2000, 11:16 AM
Well this isn't really a hack I'm looking for more of a utility which I hope someone maybe be kind enough to do??

What I need is something where I can input a date in a specified human readable format and have it output the date in UNIX format (i.e. the format that is used in the vBulletin database).

Don't need it to interface with anything, just a command line based thing which works in DOS or whatever would be great.

Thanks for your help!

Mark

08-30-2000, 11:31 AM
Check out mktime() and you can interface it in whatever way you want... ;)

Let me know if you need some help with the script though.

08-30-2000, 11:36 AM
mktime(). Cool I'll give it a look.

08-30-2000, 12:38 PM
Tried it.

Works!

Cheers m8!