Thanx
This should make live a bit easier :)
- Original Message -
From: "Niel Zeeman" <[EMAIL PROTECTED]>
To: "php gen list" <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 7:46 AM
Subject: [PHP] HELP! Date formatting
Hi
Ive gotto format a date
27;.$month[$date[1]].'-'.$date[2];
}
//will return 30-Dec-1956
Cheers,
Maxim Maletsky
-Original Message-
From: Niel Zeeman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 2:46 PM
To: php gen list
Subject: [PHP] HELP! Date formatting
Hi
Ive gotto format a date
> Ive gotto format a date such as 30/12/1956 to format 30-Dec-1956,
> I can not use mktime cause that only provides the timestamp from 1970.
> Is there any other method of getting this right.
mktime() can be used for this. 0 is from 1970. Negative values are used
for dates prior.
Chris
Hi
Ive gotto format a date such as 30/12/1956 to format 30-Dec-1956,
I can not use mktime cause that only provides the timestamp from 1970.
Is there any other method of getting this right.
thnx
Niel Zeeman
Tel(W): (043)7014247
Cell: 082 651 4083
eMail: [EMAIL PROTECTED]
4 matches
Mail list logo