Difference between revisions of "Unit GlobalConst"

From Ultibo.org
Jump to: navigation, search
Line 2,662: Line 2,662:
 
| <code>UNIX_TIME_DAYS_TO_1970 = 25569.0;</code>
 
| <code>UNIX_TIME_DAYS_TO_1970 = 25569.0;</code>
 
| Offset between 1899 (FreePascal) and 1970 (Unix/Linux)
 
| Offset between 1899 (FreePascal) and 1970 (Unix/Linux)
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''FreePascal time constants''' <code> PASCAL_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
|colspan="2"|TDateTime starts at 30/12/1899
 +
|-
 +
| <code>PASCAL_TIME_MILLISECONDS_PER_DAY = 86400000;</code>
 +
| 60*60*24*1000;
 +
|-
 +
| <code>PASCAL_TIME_SECONDS_PER_DAY = 86400;</code>
 +
| 60*60*24;
 +
|-
 +
| <code>PASCAL_TIME_DOS_TIME_START = 2162688;</code>
 +
| DOS date time value for start of DOS time (1/1/1980)
 +
|-
 +
|colspan="2"|&nbsp;
 +
|-
 +
| <code>PASCAL_DAY_OFFSET = 1.0;</code>
 +
| TDateTime value 1 day
 +
|-
 +
| <code>PASCAL_MINUTE_OFFSET = 0.000694444444444444;</code>
 +
| TDateTime value of 1 minute
 
|-
 
|-
 
|}
 
|}

Revision as of 03:34, 26 September 2016

Return to Unit Reference


Description


To be documented

Constants



[Expand]
Universal error constants ERROR_*


[Expand]
Universal value constants INVALID_*


[Expand]
File position constants FILE_*


[Expand]
File open/create constants CREATE_*


[Expand]
File creation flag constants FILE_FLAG_*


[Expand]
File attribute constants FILE_ATTRIBUTE_*


[Expand]
Filesystem attribute constants FS_*


[Expand]
Timeout constants INFINITE =*


[Expand]
TLS constants TLS_*


[Expand]
Wait constants WAIT_*


[Expand]
Thread state constants STILL_*


[Expand]
TimeZone constants TIME_ZONE_*


[Expand]
Universal key code constants KEY_CODE_*


[Expand]
Universal scan code constants SCAN_CODE_*


[Expand]
Universal color constants COLOR_*


[Expand]
Universal size constants SIZE_*


[Expand]
Universal time constants MILLISECONDS_*


[Expand]
Ultibo time constants TIME_TICKS_*


[Expand]
Unix/Linux time constants UNIX_TIME_*


[Expand]
FreePascal time constants PASCAL_*


Type definitions


None defined

Public variables


None defined

Function declarations


None defined


Return to Unit Reference