develooper Front page | perl.perl6.language.datetime | Postings from September 2000

Re: RFC 48 (v4) Replace localtime() and gmtime() with date() and utcdate()

Thread Previous | Thread Next
From:
Bart Lateur
Date:
September 30, 2000 13:01
Subject:
Re: RFC 48 (v4) Replace localtime() and gmtime() with date() and utcdate()
Message ID:
0jhctsceo70dn57oe8scvembofuocqcjon@4ax.com
On Tue, 26 Sep 2000 08:10:39 -0700, Nathan Wiger wrote:

>Well, you can easily do this already with
>
>   $date = utcdate (time + $offset);
>
>Or even:
>
>   $date = utcdate (time + &getoffset('US/Pacific'));

Unfortunately, because Daylight Saving Time is largely equivalent to
Time Zones, $offset depends on the time.

-- 
	Bart.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About