FULLSCREEN | CONTENTS | Project Home Page |
---|
.PARAMETER...: /C - Custom Output Date Formats .ALIAS.......: c .CATEGORY....: parametersThe CUSTOM OUTPUT FORMAT parameter (/C) is designed to be more flexible than Fdate's original OUTPUT DATE FORMAT parameter (/O). You may specify the /C parameter in conjunction with any Fdate function that produces a date or time as its output. The /C parm allows you to specify any desired output string, with components of the date and time inserted into the string in any place where they are desired..DISCUSSION..:
.EXAMPLE: (The tilde "~" is used as the escape charater) On April 4, 1999, the following statement: Fdate /ff /c"~Today is ~W, ~N ~d, ~Y (ISO date ~Y-~M-~D)" produces: "Today is Sunday, April 4, 1999 (ISO date 1999-04-04)"The names of the days and the months are controlled by the language parameter (/L), and will vary with the language. For examples, run CUSTOM.BAT..DISCUSSION..: