Re: How to convert '2001032018' -> '2001 03 20 18' ? (Fomating Date)

From: Date: Wed, 21 Mar 2001 01:20:05 +0000
Subject: Re: How to convert '2001032018' -> '2001 03 20 18' ? (Fomating Date)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44856@lists.php.net to get a copy of this message
> I'm trying to convert the timestamp '2001032018' into '2001 03 20 18' > or an > Array which I can easily format. Do you remember any date or string function > I can use? Convert the timestamp into a string, then use substr() to get the dates out of it. Look at the on-line manual (http://www.php.net/manual/en/) under String Functions. Sig for a Day Stephan Ahonen, ICQ 491101 "That's very funny Scotty, now beam down my clothes!" Come back tomorrow for a different sig! Backspace a single "s" to reply by email

« previous php.general (#44856) next »