Linux date as filepro sees it
Bill Campbell
bill at celestial.com
Wed Oct 25 19:20:24 PDT 2006
On Wed, Oct 25, 2006, Fairlight wrote:
>On Wed, Oct 25, 2006 at 06:55:09PM -0700, after drawing runes in goat's blood,
>Jeff Harrison cast forth these immortal, mystical words:
>> Hi. I have a customer that has Suse Linux 9.0 and
>> filepro 5.0 When I log in I see that the date/time is
>> Oct 25 21:44 - When I do a date command I get a
>> similar answer. However, when I go into filepro and
>> examine the @td variable in the debugger I get
>> 10/26/06
>>
>> Anyone have a clue as to what is going on here? Any
>> help would be appreciated.
>
>What timezone is the box configured for? If you adjust that back to UTC,
>does the date actually come out on the 26th?
>
>Could be ignoring TZ or other locale settings, with the time stored in UTC
>in the BIOS (which is more common these days). All you'd need is to hit
>GMT -0200 to get the results you're seeing. UTC is more or less GMT, so
>it's 2hrs even further in that direction.
Current versions of Linux don't generally use the TZ variable,
but link in different routines depending on the time zone.
As a rule, it's a very Good Idea(tm) to configure Linux and Unix
systems to use UTC, not local time as this avoid many sneaky
problems relating to time.
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
``...I'm not one of those who think Bill Gates is the devil. I simply
suspect that if Microsoft ever met up with the devil, it wouldn't need an
interpreter.'' -- Nick Petreley
More information about the Filepro-list
mailing list