Sponsored Content
Operating Systems AIX Command for changing date in IBM AIX Post 302261002 by vbe on Saturday 22nd of November 2008 04:57:12 PM
Old 11-22-2008
Patches:
Recommended fixes
AIX 5.1
IY75214 DAYLIGHT SAVING TIME DEFAULT CHANGING IN 2007
IY34203 SMITTY CHTZ APPENDING 2 COMMAS AFTER TZ
IY49871 SMITTY CHTZ_USER LIMITS THE EDITING OF TIMEZONE TO THREE CHARACTERS
IY21283 PROBLEM WITH SMITTY CHTZ_USER MENU WHEN SOME FIELD ARE LEFT BLANK
IY75214 DAYLIGHT SAVING TIME DEFAULT CHANGING IN 2007
AIX 5.2
IY75213 DAYLIGHT SAVING TIME DEFAULT CHANGING IN 2007
(This APAR is included in Technology Level 5200-08 and later.)
IY35629 SMITTY CHTZ APPENDING 2 COMMAS AFTER TZ
IY49813 SMITTY CHTZ_USER LIMITS THE EDITING OF TIMEZONE TO THREE CHARACTERS
IY39159 DEFAULT DST TZ SETTINGS WITH AN OFFSET FAILS TO RETURN TO STD
IY39312 SETTING TZ FAILS WITH QUOTED TIMEZONES
IY43243 CRITICAL FIXES FOR AIX 5.2 AS OF APRIL 2003
IY44169 WLM CONFIGURATION SET DOESN'T WORK RIGHT WHEN CHANGING TZ (TIME ZONE)
IY37121 IN UDF FILESYSTEMS, LOSTFILES.DIR HAS OLD DATE
IY37445 TIMEZONE DEFAULTS FOR NEW ZEALAND INCORRECT
IY75213 DAYLIGHT SAVING TIME DEFAULT CHANGING IN 2007
AIX 5.3
IY75211 DAYLIGHT SAVING TIME DEFAULT CHANGING IN 2007
(This APAR is included in Technology Level 5300-04 and later.)
 

10 More Discussions You Might Find Interesting

1. AIX

Analogue of Format Command in AIX for IBM

I need to install AIX 5.3 on an RS/6000 Server. When i boot from an AIX 5.3 CD i get an option to upgrade to 5.3 from 5.2(existing OS). Is there a way by which i can force AIX to perform a new install with creating new partitions. I am looking for the analogue of 'Format' command in AIX that... (2 Replies)
Discussion started by: bestoption
2 Replies

2. AIX

Changing Shells on IBM AIX

I found some answers as to how to change shells on Linux and FreeBSD but I am running AIX and was wondering if anyone knew the command for changing shells on this platform. (3 Replies)
Discussion started by: clairepst
3 Replies

3. AIX

date command in AIX

hi, i have a simple question in linux: date '+%s' -r filename--------> gives the file age in seconds i want the option to be used with date command in AIX ?? (1 Reply)
Discussion started by: ali560045
1 Replies

4. UNIX for Advanced & Expert Users

Using SCP command in IBM AIX to download file from remote to local system

Hi, When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code. Please give some resolution. SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies

5. AIX

Changing AIX system date

Hi, Experts, I required your help to change my system date from year 2010 to 2064. The change is required to perform some testing by our dba's and apllication developers. Through smit i am anable to chage the date and received error. I knew that AIX 5.3 TL8 system date is till year 2037 Is... (5 Replies)
Discussion started by: m_raheelahmed
5 Replies

6. AIX

IBM AIX on IBM Eseries & x series server

Hi, I want to know whether IBM AIX can be installed on the IBM e series and x series server hardware? Thanks & Regards Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies

7. AIX

pwage-aix for IBM AIX servers

This is the password aging script for aix just completed. So far tested and still testing on one of our aix server running 5.3.0.0. So anyway as you can see it is very similar to pwage-hpux-T the only difference on aix /etc/passwd file looks in this format. Also for this script to work you need to... (0 Replies)
Discussion started by: sparcguy
0 Replies

8. Shell Programming and Scripting

Command for changing date format in a file

Hi... I have an inputfile name as :- abc_test_20120213.dat (date in yyyymmdd format) I need the output file name as abc_test_13022012.dat (date in ddmmyyyy format) Please help me on this... Thanks in advance. (5 Replies)
Discussion started by: gani_85
5 Replies

9. AIX

How to find the log for executed command in IBM AIX?

In Unix If we executed any command where will generate the particluar log related to command in Unix. (4 Replies)
Discussion started by: victory
4 Replies

10. AIX

IBM Virtual Machine OS on intel x86 and x64? IBM AIX OS on IBM Virtual Machine?

Hi There, I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available). Anyone could provide me the following answer - Can IBM VM been deploy on X86 and X64 (Intel Chip)? If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies
DATETIME.SETISODATE(3)							 1						    DATETIME.SETISODATE(3)

DateTime::setISODate - Sets the ISO date

       Object oriented style

SYNOPSIS
public DateTime DateTime::setISODate (int $year, int $week, [int $day = 1]) DESCRIPTION
Procedural style DateTime date_isodate_set (DateTime $object, int $year, int $week, [int $day = 1]) Set a date according to the ISO 8601 standard - using weeks and day offsets rather than specific dates. PARAMETERS
o $object -Procedural style only: A DateTime object returned by date_create(3). The function modifies this object. o $year - Year of the date. o $week - Week of the date. o $day - Offset from the first day of the week. RETURN VALUES
Returns the DateTime object for method chaining or FALSE on failure. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.0 | | | | | | | Changed the return value on success from NULL to | | | DateTime. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 DateTime.setISODate(3) example Object oriented style <?php $date = new DateTime(); $date->setISODate(2008, 2); echo $date->format('Y-m-d') . " "; $date->setISODate(2008, 2, 7); echo $date->format('Y-m-d') . " "; ?> Procedural style <?php $date = date_create(); date_isodate_set($date, 2008, 2); echo date_format($date, 'Y-m-d') . " "; date_isodate_set($date, 2008, 2, 7); echo date_format($date, 'Y-m-d') . " "; ?> The above examples will output: 2008-01-07 2008-01-13 Example #2 Values exceeding ranges are added to their parent values <?php $date = new DateTime(); $date->setISODate(2008, 2, 7); echo $date->format('Y-m-d') . " "; $date->setISODate(2008, 2, 8); echo $date->format('Y-m-d') . " "; $date->setISODate(2008, 53, 7); echo $date->format('Y-m-d') . " "; ?> The above example will output: 2008-01-13 2008-01-14 2009-01-04 Example #3 Finding the month a week is in <?php $date = new DateTime(); $date->setISODate(2008, 14); echo $date->format('n'); ?> The above examples will output: 3 SEE ALSO
DateTime.setDate(3), DateTime.setTime(3). PHP Documentation Group DATETIME.SETISODATE(3)
All times are GMT -4. The time now is 01:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy