FULLSCREEN | CONTENTS | Project Home Page |
---|
.OUT_FORMATS.: /C (customized) output date formats .ALIAS.......: OUDAFO1The CUSTOM OUTPUT FORMAT parameter (/C) is designed to be more flexible than FDATE's original OUTPUT DATE FORMAT parameter. 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.