Page History
...
Code Block | ||
---|---|---|
| ||
// Is the current hour in the AM? IsAm = SRP_DateTime("IsAm", Time()) // Is the the current hour in UTC in the AM? IsAm = SRP_DateTime("IsAm", SRP_DateTime("Now", 1)) // Is this hard coded datetime in the AM? Hour = SRP_DateTime("IsAm", -9519.67241898148) // Is the string containing a datetime in the AM? TimeDatetime = SRP_DateTime("Parse", "Thursday, March 30, 1978 at 12:41:08pm", "DDD, MMMM D, YYYY at h:mm:sstt") IsAm = SRP_DateTime("IsAm", TimeDatetime) |