Hi there,

Got another question about PHP. I've succeeded in converting most of my ASP functions to PHP, but I don't understand quite well how date works.

Suppose i have a string, say $strTmp = '2002-01-12', how can i tell PHP this is a date ( Like CDate() ) and then extract month, day, year from it ?

Thanks in advance !