Re: [PHP] How to convert integers representations of a date to a date format variable

2001-12-30 Thread Brian Clark
* Carlos Fernando Scheidecker Antunes ([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

[PHP] How to convert integers representations of a date to a date format variable

2001-12-30 Thread Carlos Fernando Scheidecker Antunes
Hello All, I would like to convert integers like the day, month and year to a date representation to store it in a session variable. There's a form where the user posts day, month and year. So then I run checkdate($month,$day,$year) and make sure the date is valid. So, let's say I have 12 for