Re: [PHP] Weird mktime problem

2003-06-26 Thread Jason Wong
On Thursday 26 June 2003 18:46, Naintara Jain wrote: > You might want to consider removing the leading zeroes, this post is there > in the php manual and has been useful to me. > > -xxx- > jchen3625 AT yahoo DOT com (25-Aug-2002 03:33) > > beware, arguments with

RE: [PHP] Weird mktime problem

2003-06-26 Thread Ford, Mike [LSS]
Ooops! Make that: \n"; echo "local = ", date("Y-m-d H:i:s", $timestamp), "\n"; ?> > -Original Message- > From: Ford, Mike [LSS] > Sent: 26 June 2003 10:53 > > UNIX timestamps are *always* GMT -- it's the routines that > process them that do timezone (and DST) conversion. To prove

RE: [PHP] Weird mktime problem

2003-06-26 Thread Naintara Jain
To: 'Glenn'; [EMAIL PROTECTED] Subject: RE: [PHP] Weird mktime problem > -Original Message- > From: Glenn [mailto:[EMAIL PROTECTED] > Sent: 25 June 2003 14:58 [] > Here is what's weired. > > I use these lines to get the specifics: > $StartHour = substr(

RE: [PHP] Weird mktime problem

2003-06-26 Thread Ford, Mike [LSS]
> -Original Message- > From: Glenn [mailto:[EMAIL PROTECTED] > Sent: 25 June 2003 14:58 [] > Here is what's weired. > > I use these lines to get the specifics: > $StartHour = substr("$StartTime", 0, 2); > $StartMinute = substr("$StartTime", 3, 2); > $EndHour = substr("$EndTime", 0,

[PHP] Weird mktime problem

2003-06-25 Thread Glenn
I have a form that takes a file name, a starting time, ending time, starting date and ending date. It then submits this data into a php script to pull data from the file for the time specified. It would look something like this: File Name: Snafu.txt StartTime (local military): 17:00 EndTime (loc