Topic: DMD0127

Help File Version: 2.10.0.636

NOW - Get Date / Time as a 32-Bit Integer


This instruction can only be used in the Expression parameter of the Calculate Expression (MATH) instruction.

 

The Get Date / Time as a 32-Bit Integer (NOW) function returns a 32-bit integer value that represents the number of seconds since January 1, 1970, this is known as a 1970 Epoch value. This value is a 32-bit integer which should be stored in a DWord location.

 

 


Parameters:

This function has no parameters.

 


See Also:

MATH - Calculate Expression

 


Related Topics:

EPOCH2DT - Convert 1970 Epoch to Date / Time

 

DT2EPOCH - Convert Date / Time to 1970 Epoch

 


Rung Example: