On Sun, 15 Oct 2006 13:22:02 +0200, Zora wrote:
Hi all,
(first time I send an email here, so please be forgiving if something
doesn't follow expected rules.)
My web application allows users to enter time stamps (date and time)
given as local times. The time stamp is to be stored as UTC
Dan Brow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
A little confused with mktime, I'm trying to get how many days are in a
year.
$year = 2006;
$epoch = mktime(0, 0, 0, 1, 0, $year); // I have to have 1 for month or
I get which day it is now. Which sucks.
$date = date(z Y,
You could look at the source code for PHP
On Wed, 6 Feb 2002, David A Dickson wrote:
I need to create a function in another programming language that takes the
same input as the php mktime() function and produces the exact same output
as the php mktime() function. Does anybody out there
Most langauges have support for this type of function - i.e. the number of
seconds since 1970. Check your language manual...
David A Dickson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I need to create a function in another programming language that takes
mktime have the folloing format int mktime (int hour, int minute, int
second, int month, int day, int year)
I don't understand what represent $x[stop]. maybe time in hh:mm:ss format?
if is that you ca use
$reformat_stop=explode(:,$x[stop].:.1:1:2001)
Hi James,
I'm running 4.0.6 on a Solaris 8 box. The output given by
echo mktime(0,0,0,1,1,1970);
is 3600.
Shouldn't it be 0? My box's locale is set to the UK defaults, so as I
write
this we are in daylight savings (GMT+1). Would this make a difference? (I
have already tried
I uploaded
PROTECTED]
Subject: [PHP] Re: mktime() problem
Hi James,
I'm running 4.0.6 on a Solaris 8 box. The output given by
echo mktime(0,0,0,1,1,1970);
is 3600.
Shouldn't it be 0? My box's locale is set to the UK defaults, so as I
write
this we are in daylight savings (GMT+1). Would this make
7 matches
Mail list logo