Dates Problem ?
Posted: Sat Sep 07, 2002 8:08 am
I need help writing a function for the following situation.
User inputs dates (as a single string) in the format of MM/DD/YYYY.
I need to convert this to YYYYXXX where XXX is the day of the year from 001 to 365.
As a seperate function, I need to convert YYYYXXX back to PHP native time format for conversion to MySQL format.
Any Ideas?!
User inputs dates (as a single string) in the format of MM/DD/YYYY.
I need to convert this to YYYYXXX where XXX is the day of the year from 001 to 365.
As a seperate function, I need to convert YYYYXXX back to PHP native time format for conversion to MySQL format.
Any Ideas?!