Date: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
Date is an [[Internal Function]], a [[Command]], and a [[Format Specification]].
Date is an [[Internal Function]], a [[Command]], and a [[Format Specification]].
   
   
*[[Date (Internal Function)]]
*[[Date (internal function)]]
*[[Date$]]
*[[Date$]]
:Date and Date$ are both functions that convert dates from days values into readable dates. These functions also have the ability to print the current date.
:Date and Date$ are both functions that convert dates from days values into readable dates. These functions also have the ability to print the current date.
   
   
*[[Date (Command)]]
*[[Date (command)]]
:The Date command is a command that you execute with the execute statement. It sets the internal BR date.
:The Date command is a command that you execute with the execute statement. It sets the internal BR date.
   
   
*[[Date (Format Specification)]]
*[[Date (format specification)]]
:The Date format spec is a [[format spec]] useful for [[Grid and List]] that stores data internally as a number (the days value) yet displays it as a printed date. This is useful because Grid and List can sort based on the date value.
:The Date format spec is a [[format spec]] useful for [[Grid and List]] that stores data internally as a number (the days value) yet displays it as a printed date. This is useful because Grid and List can sort based on the date value.



Revision as of 12:55, 6 March 2014

Date has three different meanings to BR.

Date is an Internal Function, a Command, and a Format Specification.

Date and Date$ are both functions that convert dates from days values into readable dates. These functions also have the ability to print the current date.
The Date command is a command that you execute with the execute statement. It sets the internal BR date.
The Date format spec is a format spec useful for Grid and List that stores data internally as a number (the days value) yet displays it as a printed date. This is useful because Grid and List can sort based on the date value.