OK, dumb question - I just tried this and I get a creation date of Mar 11 2007 for foo.testfile. Apparently since the time is a future time, it is showing the year instead of the time. How do I get it to display the time instead of the year?
Rex RRP@/SYSTEM/tmp>TZ=GMT0 touch -t 200703111200 foo.testfile RRP@/SYSTEM/tmp>touch foo2 RRP@/SYSTEM/tmp>ls -l total 16 -rw-r--r-- 1 OMVSKERN 0 0 Mar 11 2007 foo.testfile -rw-r--r-- 1 OMVSKERN 0 0 Feb 8 16:38 foo2 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Don Poitras Sent: Friday, February 02, 2007 10:29 PM To: [email protected] Subject: Re: Z/900 How to Test Daylight Savings Time Mods In article <[EMAIL PROTECTED]> you wrote: > In a recent note, Mark House said: > > Date: Fri, 2 Feb 2007 08:51:20 -0600 > > > > Daylight Savinggs Time change. Anyone have any suggestions,on how > > to test the modifications without manually changing the clock on the SE, and > > performing a Power On Reset. Are there any products/utilities that > > would make this possible. Any suggestions are welcome. Thanks for > > the time. > > > Create a file with > TZ=GMT0 touch -t 200703111200 foo.testfile > List it with > ls -l foo.testfile > Verify that the time appears to be 07:00 for CDT rather than 06:00 for > CST. I like it. I was going to suggest writing an LE program that converts dates from GMT to local and just pick periods for all the edge conditions, but this is simpler. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

