<< Prev        Next >>

ID : 3972

Date

Function

To return the current date.

Syntax

Date

Return Value

Return the current date by string type data.

Description

The current date is returned by string type data.

Related Terms

Time, Now, Language Setting

Attention

The format varies depending on the language setting.

Example

'!TITLE "Acquiring Current Date"
' Acquire and display the current date
Sub Sample_Date

  Dim aaa As String

  ' Assign the current date to aaa
  aaa = Date

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

End Sub

ID : 3972

<< Prev        Next >>