Feature #154

Atomic operation to get date and time

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

Status:ClosedStart date:03/13/2017
Priority:UrgentDue date:
Assignee:I. Denisov% Done:

100%

Category:-
Target version:1.7.1
Forum topic:f=41&t=604

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.

Associated revisions

Revision 057ae3c0
Added by I. Denisov almost 2 years ago

Atomic operation to get date and time (GetDateTime). Refs: #154.

Revision 7bec3390
Added by I. Denisov almost 2 years ago

Atomic operation to get UTC date and time (GetUTCDateTime). Refs: #154.

Revision a3b17756
Added by I. Denisov almost 2 years ago

Typo in Dates documentation. Refs: #154.

History

#1 Updated by I. Denisov almost 2 years ago

  • Subject changed from Dates.GetDateTime to Atomic operation to get date and time

#2 Updated by I. Denisov almost 2 years ago

  • Description updated (diff)

#3 Updated by I. Denisov almost 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100

#4 Updated by I. Denisov almost 2 years ago

  • Forum topic set to https://forum.blackboxframework.org/viewtopic.php?f=41&t=604

#5 Updated by I. Denisov almost 2 years ago

  • Forum topic changed from https://forum.blackboxframework.org/viewtopic.php?f=41&t=604 to test:https://forum.blackboxframework.org/viewtopic.php?f=41&t=604

#6 Updated by I. Denisov almost 2 years ago

  • Forum topic changed from test:https://forum.blackboxframework.org/viewtopic.php?f=41&t=604 to f=41&t=604

#7 Updated by R. Campbell almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF