Project

General

Profile

Actions

Feature #154

closed

Atomic operation to get date and time

Added by I. Denisov almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
03/13/2017
Due date:
% Done:

100%

Estimated time:

Description

Module Dates has GetDate and GetTime procedures. However it does not have GetDateTime procedure.
There is the risk that at the boundary of the day application will get previous day but the time will be 00:00:00 except of 23:59:59. So there will be one day back.

To prevent such case in applications with critical safety there should be atomistic operation for getting date and time.

There is the hook GetTime (OUT d: Date; OUT t: Time)* for this operation, so realization of this issue is trivial.

Actions

Also available in: Atom PDF