Page 1 of 1

Help with strtotime()

Posted: Mon May 15, 2006 8:45 pm
by mfbrowne
Could someone help me with this:

If I use the following ;

Code: Select all

strtotime( '9:00 pm') ;
I get a converted date/time of 9:00 am

If I use the following ;

Code: Select all

strtotime( '21:00') ;
Then I get the proper converted date/time.

I am confused as to how I would get the proper date/time for example 1 above.

Thanks

Posted: Mon May 15, 2006 9:54 pm
by mfbrowne
You may all ignore this post as I was just being really stupid.

Thanks