On Thu, 15 Feb 2001 at 17:57:43, Rog <[EMAIL PROTECTED]> writes
>He's probably gotten his timestamp from a database, in which case the
>easiest solution is usually reformat the timestamp when collecting it
>from the database rather than within PHP.
>
>(MySQL) Example :
>select UNIX_TIMESTAMP(tim
On Fri, 16 Feb 2001 at 02:03:42, [EMAIL PROTECTED] writes
>> with the same effect - 20010213173654 becomes
>> Monday, 18th January 2038. Is there a problem with the way I'm passing
>> the timestamp to the date command?
>
>Your timestamp looks bogus. On normal systems this can only be a 32 bit
>int
[EMAIL PROTECTED] wrote:
>Your timestamp looks bogus. On normal systems this can only be a 32 bit
>integer and there will be an overflow at that time.
His timestamp is perfectly fine, it's just in the wrong format. His is
formatted to YearMonthDayHourMinuteSecond and you (and the date function
On Fri, Feb 16, 2001 at 12:32:47AM +, Steven Hirschorn wrote:
> On Fri, 16 Feb 2001 at 01:08:58, [EMAIL PROTECTED] writes
> >You haven't read the PHP Manual carefully:
> >
> >http://php.net/mktime
> >http://php.net/date
>
> Thanks for the speedy reply! I've tried using:
> date("l, jS F Y",$la
On Fri, 16 Feb 2001 at 01:08:58, [EMAIL PROTECTED] writes
>You haven't read the PHP Manual carefully:
>
>http://php.net/mktime
>http://php.net/date
Thanks for the speedy reply! I've tried using:
date("l, jS F Y",$lastmodified)
with the same effect - 20010213173654 becomes
Monday, 18th January 20
I've checked this in the PHP documentation and done a scan of the
archive to try to work out where I am going wrong but have failed. I
know I could fix this problem by using substrings and processing them,
but PHP has a simpler function which should work. Shouldn't it?
In my database a record
On Fri, Feb 16, 2001 at 12:04:01AM +, Steven Hirschorn wrote:
> I've checked this in the PHP documentation and done a scan of the
> archive to try to work out where I am going wrong but have failed. I
> know I could fix this problem by using substrings and processing them,
> but PHP has a
7 matches
Mail list logo