Helmut,
I use this.
Cheers
Robert
VAR
timeZoneInfo : WinApi.TIME_ZONE_INFORMATION;
daylightTime : BOOLEAN;
BEGIN
daylightTime := WinApi.GetTimeZoneInformation (timeZoneInfo) = 2;
_____
From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
Sent: 08 November 2011 13:43
To: BLACKBOX{([at]})nowhere.xy
Subject: [BLACKBOX] Summertime, wintertime, NTFS and FAT
*** WARNING ***
This message has originated outside your organisation,
either from an external partner or the Global Internet.
Keep this in mind if you answer this message.
Dear BlackBox users,
I always get some trouble after the system time changes between summertime and wintertime and vice versa.
I need two PROCEDUREs to solve my problems:
1.
PROCEDURE IsSummertime() : BOOLEAN;
BEGIN
RETURN (* TRUE if system time is summertime -- FALSE if system time is wintertime *)
END IsSummertime;
2.
PROCEDURE IsNtfs(IN drive: ARRAY OF CHAR) : BOOLEAN;
BEGIN
RETURN (* TRUE if the file system is NTFS -- FALSE if the file system is FAT *)
END IsNtfs;
Has someone a solution for those procedures?
Thank you very much.
Regards
Helmut Zinn
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Tue Nov 08 2011 - 15:47:29 UTC