Fwd: Time in @TM

Rodgers Hemer r.hemer at w-link.net
Sat Mar 24 10:21:31 PDT 2007


TOP POSTED

Ken White sent this message to me off list and has given me  
permission to post it to the list.  It is a much more thorough  
explanation of the time issue that I raised.  He only mentions 5.0.7  
but I suspect that his analysis also applies to SCO 6.0

Begin forwarded message:

> From: "ken white" <kenwhite at verizon.net>
> Date: March 24, 2007 9:53:49 AM PDT
> To: "Rodgers Hemer" <r.hemer at w-link.net>
> Subject: Re: Time in @TM
> Reply-To: "ken white" <kenwhite at verizon.net>
>
> yes you may.
>
> ----- Original Message ----- From: "Rodgers Hemer" <r.hemer at w- 
> link.net>
> To: "ken white" <kenwhite at verizon.net>
> Sent: Saturday, March 24, 2007 12:06 PM
> Subject: Re: Time in @TM
>
>
>> Ken:
>> May I post your reply to the fplist?
>> Rodgers Hemer
>> ============================================================
>> On Mar 24, 2007, at 6:13 AM, ken white wrote:
>>> Rodgers,
>>>
>>> I reply privately verizon.net is blocked by the filepro list.
>>>
>>> Your answer may be in the following statement from statement in   
>>> sco's KB article 126600
>>>
>>> "Installation of MP5 may not fix DST issues with 3rd party   
>>> applications running on OpenServer 5.0.7. The reason for this   
>>> is      that some applications may be built with the pre MP5   
>>> version of the static libc library."
>>>
>>> Your observations with filepro version 5.0.14R4  under SCO on   
>>> openserver 5.0.7 mp 5 are correct.
>>>
>>> Given the following filepro code:
>>>
>>> ::xx="EST5EDT":
>>> ::putenv "TZ", (xx):
>>> ::xy="Time time is"<@td<@tm<"TZ="<xx:
>>> ::xx="EST5EDT,M3.2.0,M11.1.0":
>>> ::putenv "TZ", (xx):
>>> ::xz="Time time is"<@td<@tm<"TZ="<xx:
>>> ::msgbox xy{"\n"{xz:
>>> ::end:
>>>
>>> produces the following result
>>>
>>> Time time is 03/24/07 08:04:45 TZ= EST5EDT
>>> Time time is 03/24/07 09:04:45 TZ= EST5EDT,M3.2.0,M11.1.0
>>>
>>> The equivalent shell script
>>>
>>> export TZ
>>> TZ="EST5EDT"
>>> echo `date` "TZ=" $TZ
>>> TZ="EST5EDT,M3.2.0,M11.1.0"
>>> echo `date` "TZ=" $TZ
>>>
>>> produces the following result.
>>> Sat Mar 24 09:04:48 EDT 2007 TZ= EST5EDT
>>> Sat Mar 24 09:04:48 EDT 2007 TZ= EST5EDT,M3.2.0,M11.1.0
>>
>



More information about the Filepro-list mailing list