Decode a DOS date to a string
#include <Date.au3>
_Date_Time_DOSDateToStr ( $iDosDate )
$iDosDate | MS-DOS date, packed as follows: Bits 0- 4 Day of the month (1–31) Bits 5- 8 Month (1 = January, 2 = February, and so on) Bits 9-15 Year offset from 1980 (add 1980 to get actual year) |
_Date_Time_DOSDateTimeToStr, _Date_Time_DOSTimeToStr
#include "Extras\HelpFileInternals.au3"
#include <Date.au3>
#include <GUIConstantsEx.au3>
#include <WindowsStylesConstants.au3>
Example()
Func Example()
Local $sDate
; Create GUI
GUICreate("Time", 400, 300)
_MemoCreate(2, 2, 396, 296, $WS_VSCROLL)
GUISetState(@SW_SHOW)
; Show FAT date
$sDate = _Date_Time_DOSDateToStr(0x3621) ; 01/01/2007
_MemoWrite("FAT date .: " & $sDate)
; Loop until the user exits.
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
EndFunc ;==>Example