BEfZb‖Now Function

Contents
WMrMy‖

# Cb5u6‖Now Function

TdbJF‖Returns the current system date and time as a Date value.

ytSJz‖The Now function calculates time up to milliseconds, but return time in seconds.

### FVEx2‖Syntax:

    Now

### bBBqF‖Return type:

WrWGq‖Date

### SEjHR‖Error codes:

5 Invalid procedure call

### EFSA4‖Example:

      Sub ExampleNow
      ZoAq4‖    MsgBox "It is now " & Now
      End Sub
      nxypf‖REM Work with milliseconds timings
      Sub ExampleNowDouble
          Dim myTime As Double
          myTime = now
      BBu5p‖    MsgBox "It is now " & format(myTime, "yyyy-mm-dd HH:MM:SS.000")
      End Sub

Related Topics

ScriptForge.Timer service

Please support us!