home > 比較編 > Perl, PHP, Python, Ruby > dates and time >

ForNext

Only Do What Only You Can Do

088. local timezone

VBScript

JScript

Perl

Time::Piece has local timezone if created with localtime and UTC timezone if created with gmtime; tm arrays have no timezone or offset info


PHP

DateTime objects can be instantiated without specifying the timezone if a default is set:
$s = "America/Los_Angeles";
date_default_timezone_set($s);

Python

a datetime object has no timezone information unless a tzinfo object is provided when it is created


Ruby

if no timezone is specified the local timezone is used


PowerShell

Scala

F#

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Ada

PL/SQL

T-SQL

関数型

inserted by FC2 system