dateToNumber: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add. see also)
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Convert date to float number. |= Description
| Convert a date to a float number, based on Jan 1st 00:00:00 <nowiki>=</nowiki> 0 and Dec 31th  23:59:59 <nowiki>=</nowiki> 1 |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>dateToNumber date; // will return the actual "number" for the actual date.</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 18:27, 15 November 2009

Hover & click on the images for description

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

Syntax:
DateToNumber date
Parameters:
date: Array -
Return Value:
Number

Examples

Example 1:
dateToNumber date; // will return the actual "number" for the actual date.

Additional Information

See also:
datedaytimetime

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