Mts Multipurpose Elite Bedienungsanleitung Seite 224

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 662
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 223
Parameters
datePattern—Formats the date according to the specified pattern. For example, “d” is a short date pattern
(MM/dd/yyyy); “D” is a long date pattern (dddd, MMMM dd, yyyy).
Detailed date and time pattern format specifier information is available from the MSDN resources Web
site.
Examples
TestModificationDate([ “d”])
Returns a test modification date in a short date format, assuming a United States English culture (us en):
4/15/2012
TestModificationDate([ “D”])
Returns a test creation date in a long date format, assuming a United States English culture:
Saturday, March 31, 2012
Unit Class
Integer
TestModificationTime
Note:
This function replaces the SampleModificationTime function from the TW4 application.
Returns
Returns the last modification time of the test run.
Syntax
TestModificationTime([ timePattern])
Parameters
timePattern—Formats the time according to the specified pattern. Set the time pattern to the exact format
desired. For example, to obtain the pattern h-mm-ss for hours-minutes-seconds, the function should specify
"hh-mm-ss".
Detailed date and time pattern format specifier information is available from the MSDN resources Web
site.
Example
TestModificationTime([ “hh:mm:ss tt”])
Displays the time as 10:04:01 PM.
Unit Class
String
224 | MTS TestSuite
Working with Variables
Seitenansicht 223
1 2 ... 219 220 221 222 223 224 225 226 227 228 229 ... 661 662

Kommentare zu diesen Handbüchern

Keine Kommentare