General timestamp?
Posted: Mon Jun 16, 2003 9:23 am
I am trying to create code which creates a timestamp in a form i can put into a database, and the database will read and convert to TIMESTAMP format.
The two different databases i use are MySQL and DB2. As far as i have found i need to specify two different input codes formats..
..but how in Micheal Schumacher's name can i convert a date with this format..
I tried date(), mktime() and all other, i just cannot do it. Can someone tell me how i should use it, to convert it to a timestamp a database wants?
The two different databases i use are MySQL and DB2. As far as i have found i need to specify two different input codes formats..
..but how in Micheal Schumacher's name can i convert a date with this format..
Code: Select all
2003-12-31