Get Milliseconds
- Last Updated: October 26, 2026
- 1 minute read
- Corticon
- Version 7.3
- Documentation
SYNTAX
<DateTime>.getMilliseconds
Returns the number of milliseconds elapsed since the epoch: January 1, 1970.
The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
This sample Rulesheet uses .getMilliseconds in a Nonconditional rule to evaluate the number of milliseconds between the epoch and dateTime1, and return the number as integer1.
![]()
A sample Ruletest provides values of dateTime2 for three instances of Entity1. Input and Output panels are shown below.
![]()