strtotime PHP function questions -


i have strtotime function doing this:

$var = strtotime('23:59:59' . $date); 

where $date date in format: mm/dd/yy

however, randomly fails , returns nothing it.... doing wrong here?

thanks.

you should add space character end of time string


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -