Función Now

Contido

# Now Function

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

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

### Sintaxe:

    Now

### Return type:

Data

### Códigos de erro

5 Chamada de procedemento incorrecta

### Exemplo:

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

Temas relacionados

ScriptForge.Timer service

Precisamos da súa axuda!