Dates Separation
Posted: Sat Apr 23, 2005 10:35 am
If i store dates in the database in the datetime form of
YYYY-MM-DD HH:MM:SS (which i believe is somehow standard, correct me if im wrong)
How in php once i have taken that date from the database, can i separate the components and store them in separate variables ($year,$month,$day...)
YYYY-MM-DD HH:MM:SS (which i believe is somehow standard, correct me if im wrong)
How in php once i have taken that date from the database, can i separate the components and store them in separate variables ($year,$month,$day...)