Microsoft KB Archive/50786: Difference between revisions
From BetaArchive Wiki
(importing KB archive) |
m (X010 moved page Microsoft KB Archive/Q50786 to Microsoft KB Archive/50786 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/") |
(No difference)
|
Latest revision as of 19:25, 12 August 2020
WordBASIC Time$() Function Defined
PSS ID Number: Q50786 Article last modified on 02-17-1993
1.00 1.10 1.10a 2.00 WINDOWS
Summary: The WordBasic Time$() function returns the current time in the default format for Microsoft Word for Windows.
Syntax
A$ = Time$() You can change the default format by inserting the TIMEFORMAT=time-picture setting in the WIN.INI file. TIMEFORMAT sets the default time format for Word documents. Refer to the “Date/Time-Picture Switch” under “Fields” in the “Microsoft Word for Windows User’s Reference” for the various format possibilities.
Example
A$ = Time$() Print "The time is: " + A$
For more information on WordBasic functions, refer to the “Microsoft Word for Windows Technical Reference.”
Additional reference words: 1.0 1.00 w4wmacro