dateToNumber: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
OzDeadMeat (talk | contribs) No edit summary |
||
Line 45: | Line 45: | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on February 4, 2015 - 21:06 (UTC)</dd> | |||
<dt class="note">[[User:Ozdeadmeat|Ozdeadmeat]]</dt> | |||
<dd class="note"> | |||
Unsure if this checks for leap years. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 22:06, 4 February 2015
Description
- Description:
- Convert a date to a float number, based on Jan 1st 00:00:00 = 0 and Dec 31th 23:59:59 = 1
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_float = dateToNumber [2035,7,6,12,0]; //0.510959
- Example 2:
dateToNumber date; //will return float number for the current date.
Additional Information
- See also:
- datedaytimetimenumberToDate
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
- Posted on February 4, 2015 - 21:06 (UTC)
- Ozdeadmeat
- Unsure if this checks for leap years.