CodeIgniter Forums

Full Version: Need help in date time conversion
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]FutureKing[/eluser]
I have date time in this format:
10/20/2008 7:38:52 AM

I want to convert it into unix timestamp like
1234566

Please help.

El Forum

[eluser]FutureKing[/eluser]
Hi,
Just solved it myself by using strtotime function.