php-general | 2001122
Date: 12/30/01
- Next message: Brian Clark: "Re: [PHP] MySQL problem"
- Previous message: Brian Clark: "Re: [PHP] how long will REGISTERED GLOBALS be around?"
- In reply to: Carlos Fernando Scheidecker Antunes: "[PHP] How to convert integers representations of a date to a date format variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* Carlos Fernando Scheidecker Antunes (nando <email protected>) [Dec 30. 2001 21:11]:
> So, let's say I have 12 for month, 30 for day and 2001 as year. Do I have to create a timestamp? How to create a
> TimeStamp?
strtotime() can convert it into a unix timestamp.
> I need to store it as 30/12/2001 (but not a string) not only on a session variable but also to make it easier to work with a MySQL table.
For MySQL, this may help:
<http://marc.theaimsgroup.com/?l=php-general&m=100927056511210&w=2>
-- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Never try to out stare a cat. They've got no eyelids.-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Brian Clark: "Re: [PHP] MySQL problem"
- Previous message: Brian Clark: "Re: [PHP] how long will REGISTERED GLOBALS be around?"
- In reply to: Carlos Fernando Scheidecker Antunes: "[PHP] How to convert integers representations of a date to a date format variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

