Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
Crestron SIMPL+
®
Software 
Language Reference Guide - DOC. 5797G
 SIMPL+
®
 
z 123
FileDate
Name:
FileDate
Syntax:
STRING FileDate(FILE_INFO Info, INTEGER FORMAT);
Description:
Returns a string corresponding to the current date of the specified file with the 
specified FORMAT.
Parameters:
INFO – structure containing the information about a found file (refer to "FindFirst" 
on page 
FORMAT is an integer describing the way to format the date for the return. Valid 
formats are 1 through 4.
FORMAT 1 returns a string in the form MM/DD/YYYY
FORMAT 2 returns a string in the form DD/MM/YYYY
FORMAT 3 returns a string in the form YYYY/MM/DD
FORMAT 4 returns a string in the form MM/DD/YY
In format 4, the year 2000 is shown as 00. Digits 58 - 99 are treated as 1958-1999 and 
00-57 are treated as 2000 through 2057.
Return Value:
A STRING corresponding to the current date.