<< Prev        Next >>

ID : 387

Time

Function

To return the current time.

Syntax

Time

Return value

Return the current time by string type data.

Description

The current time is returned by string type data.

Related Terms

Date, Timer, Now, Language Setting

 

Attention

The format varies depending on the language setting.

Example

'!TITLE "Acquiring Current Time"
' Acquire and display the current time
Sub Sample_Time

  Dim aaa As String

  ' Assign the current time to aaa
  aaa = Time

  ' Display the current time on the message output window
  PrintDbg aaa

End Sub

ID : 387

<< Prev        Next >>