Hi,
I've got a string that contains a date with the following format :
yyyy-mm-dd hh:mm:ss
ex :
2003-10-10 11:37:47
I'd like to get 4 variables :
- 1 for the year number,
- 1 for the month,
- 1 for the day,
- 1 for the time.
How is it possible ?
Must I use the explode function or is there another way ?
many thanks in advance,
cheers,
--
nyso
I've got a string that contains a date with the following format :
yyyy-mm-dd hh:mm:ss
ex :
2003-10-10 11:37:47
I'd like to get 4 variables :
- 1 for the year number,
- 1 for the month,
- 1 for the day,
- 1 for the time.
How is it possible ?
Must I use the explode function or is there another way ?
many thanks in advance,
cheers,
--
nyso
Comment