Re: adding leading zeros to a date
- From: "Andrew @ Rockface" <andrew@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Apr 2005 19:34:00 +0000 (UTC)
ZeldorBlat wrote:
> Alternatively:
>
> $InDate = date('Y-m-d', mktime(0, 0, 0, $inmonth, $inday, $inyear));
I thought I'd go for the sprintf as it never gets a mention anymore :)
--
Andrew @ Rockface\n np: (Winamp is not
active)\nwww.rockface-records.co.uk
.
- References:
- adding leading zeros to a date
- From: John Smith
- Re: adding leading zeros to a date
- From: Andrew @ Rockface
- Re: adding leading zeros to a date
- From: ZeldorBlat
- adding leading zeros to a date
- Prev by Date: Re: adding leading zeros to a date
- Next by Date: Re: Page works when Form Action is Get but not Post
- Previous by thread: Re: adding leading zeros to a date
- Next by thread: Re: adding leading zeros to a date
- Index(es):
Relevant Pages
|