10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
my system date and time zone is PDT. whenever i append date time stamp to a file it appends the system date thats PDT date time zone. i want to append GMT time zone. is there a mechanism or option which can append the date time stamp according to GMT. (4 Replies)
Discussion started by: Little
4 Replies
2. AIX
Hello AIX friends,
We have timezone settings on our AIX 6.1 boxes set to Europe/London.
How can I change it to UTC timezone with Daylight saving disabled.
After running "smit chtz_user" I don't see UTC option in the listing.
Please advise.
TIA (3 Replies)
Discussion started by: prvnrk
3 Replies
3. Shell Programming and Scripting
Hi
Summary:
- Script will take 2 arguments
- Argument 1: Date/Time value in a particular format
- Argument 2: TimeZone value
Examples:
Argument 1:
a. "May 11, 2012 08:00:00 AM"
b. "Dec 21, 2012 12:21:12 PM"
c. "Oct 2, 2012 05:00:00 PM"
Argument 2:
a. MT or MST or MDT
b. ET
c.... (4 Replies)
Discussion started by: anuragpgtgerman
4 Replies
4. AIX
hi
may aix version is 6100-06-03-1048
when i give date command it shows the time zone as
root@cbspsgui01 #date
Fri Sep 16 08:43:42 Africa/Johannesburg 2011
I want to change the time zone to GMT +02:00:
After i change the time zone it should show something like the one below when i type... (2 Replies)
Discussion started by: newtoaixos
2 Replies
5. Linux
I was doing timezone and DST testing which is required for some of my products
Here is the strange behaviour i observed
First i did set the timezone to PST 2010 (which is less than GMT basically negative timezone)
zdump -v /etc/localtime |grep 2010
/etc/localtime Sun Mar 14 09:59:59... (0 Replies)
Discussion started by: ravindra1103
0 Replies
6. HP-UX
How can I change in HP-UX The time zone
to reflect the Jerusalem/Israel time zone (I think ist called IDT or IST) ?
tnx (5 Replies)
Discussion started by: umen
5 Replies
7. HP-UX
Need help with a timezone change for my user profile on HPUX, from UTC to PDT8PST
pgop:/home/pgop > date
Thu Sep 25 15:09:50 UTC 2008
to
Thu Sep 25 08:12:44 PDT 2008
Tried looking through manuals for date over this to no luck!!
:confused: (3 Replies)
Discussion started by: pgop
3 Replies
8. Shell Programming and Scripting
Hello ,
We are investigating an issue from a customer from Western Australia related to DST change on 25 th March. The customer in Australia has the below settings for Time Zone. The System is Solaris 9.
TZ=Australia/NSW
CMASK=022
We are trying to reproduce the problem in our local... (1 Reply)
Discussion started by: Mohammed
1 Replies
9. AIX
Hi,
I am trying to change my Time Zone (TZ) variable in AIX 5.3
For that I have changed in /etc/environment
as TZ=GMT-1:30
although it is working but strangely none of my cronjobs are
executing at the correct time which were executing earlier
before TZ change.
Is a reboot necessary... (1 Reply)
Discussion started by: run_time_error
1 Replies
10. UNIX for Advanced & Expert Users
Hi! How ican change parameters for daylight, i mean, i want change the daylight on december first week. I've tried with /usr/lib/tztab but result unsuccessful. (7 Replies)
Discussion started by: agustincm
7 Replies
DateTime::Format::DateParse(3pm) User Contributed Perl Documentation DateTime::Format::DateParse(3pm)
NAME
DateTime::Format::DateParse - Parses Date::Parse compatible formats
SYNOPSIS
use DateTime::Format::DateParse;
my $dt = DateTime::Format::DateParse->parse_datetime( $date );
my $dt = DateTime::Format::DateParse->parse_datetime( $date, $zone );
DESCRIPTION
This module is a compatibility wrapper around Date::Parse.
USAGE
Import Parameters
This module accepts no arguments to it's "import" method and exports no symbols.
Methods
Class Methods
o parse_datetime($date [, $zone])
Accepts a Date::Parse compatible $date string and optionally a Time::Zone compatible $zone string.
Returns a DateTime object.
GOTCHAS
o If parse_datetime is called on a $date that doesn't know specify a timezone and $zone is not set, then the timezone of the returned
DateTime object will be set to the "local" timezone. This is consistent with the behavior of Date::Parse.
o If parse_datetime is called without a $zone but the $date string does specify a timezone/offset or if parse_datetime is called with a
$zone that DateTime::TimeZone does not understand, the returned DateTime object will have it's timezone set to a fixed offset from UTC.
This means that "DST" information is not available and date math will not reflect "DST" transitions. This may be resolved for true
timezones by using the DateTime::TimeZone::Alias module to "alias" the Time::Zone timezone to an Olson DB name. This may be done
automatically in a future release.
CREDITS
Graham Barr (GBARR) <gbarr@pobox.com>, author of Date::Parse
Everyone at the DateTime "Asylum".
SUPPORT
Support for this module is provided via the <datetime@perl.org> email list. See <http://lists.perl.org/> for more details.
AUTHOR
Joshua Hoblitt (JHOBLITT) <jhoblitt@cpan.org>
COPYRIGHT
Copyright (c) 2005-6 Joshua Hoblitt. All rights reserved. This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
The full text of the licenses can be found in the LICENSE file included with this module, or in perlartistic and perlgpl as supplied with
Perl 5.8.1 and later.
SEE ALSO
Date::Parse, Time::Zone, DateTime, DateTime::TimeZone, DateTime::TimeZone::Alias, <http://datetime.perl.org/>
perl v5.10.1 2010-04-16 DateTime::Format::DateParse(3pm)