Date: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add Weferlingen info and game links)
m (Some wiki formatting)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable sortable" style="float: right; margin: 0 0 0.5em 1.5em"
{| class="wikitable sortable" style="float: right; margin: 0 0 0.5em 1.5em"
|+ Default [[Mission Editor]] [[:Category:Terrains|Terrains]] dates
|+ Default [[Mission Editor]] [[:Category: Arma: Terrains|Terrains]] dates
! [[:Category:Projects|Game]] !! [[:Category:Terrains|Terrain]] !! DateTime
! [[:Category:Projects|Game]] !! [[:Category: Arma: Terrains|Terrain]] !! DateTime
|-
|-
! rowspan="4" | [[{{ofp}}|{{Name|ofp|short}}]]
! rowspan="4" | {{GameCategory|ofp|text= {{Name|ofp|short}}}}
| [[Everon]]
| [[Everon]]
| rowspan="4" | 1985-05-10 07h30
| rowspan="4" | 1985-05-10 07:30
|-
|-
| [[Malden]]
| [[Malden]]
Line 13: Line 13:
| [[Desert Island]]
| [[Desert Island]]
|-
|-
! [[{{ofpr}}|{{Name|ofpr|short}}]]
! {{GameCategory|ofpr|text= {{Name|ofpr|short}}}}
| [[Nogova]]
| [[Nogova]]
| 1985(?)-05-10 07h30
| 1985(?)-05-10 07:30
|-
|-
! rowspan="3" | [[{{arma}}|{{Name|arma|short}}]]
! rowspan="3" | {{GameCategory|arma1|text= {{Name|arma1|short}}}}
| [[Sahrani]]
| [[Sahrani]]
| rowspan="3" | 2007-06-07 08h30
| rowspan="3" | 2007-06-07 08:30
|-
|-
| [[Southern Sahrani]]
| [[Southern Sahrani]]
Line 25: Line 25:
| [[Rahmadi]]
| [[Rahmadi]]
|-
|-
! rowspan="2" | [[{{Name|arma1qg}}|{{Name|armaqg|short}}]]
! rowspan="2" | [[{{Name|arma1qg}}|{{Name|arma1qg|short}}]]
| [[United Sahrani]]
| [[United Sahrani]]
| 2008-06-24 15h30
| 2008-06-24 15:30
|-
|-
| [[Porto]]
| [[Porto]]
| 2008-06-24 15h30
| 2008-06-24 15:30
|-
|-
! rowspan="2" | [[{{arma2}}]]
! rowspan="2" | {{GameCategory|arma2|link= y}}
| [[Utes]]
| [[Utes]]
| rowspan="2" | 2008-10-11 14h20
| rowspan="2" | 2008-10-11 14:20
|-
|-
| [[Chernarus]]
| [[Chernarus]]
|-
|-
! rowspan="7" | [[{{arma2oa}}|{{Name|arma2oa|short}}]]
! rowspan="3" | {{GameCategory|arma2oa|text= {{Name|arma2oa|short}}}}
| [[Bukovina]] <span style="font-size: smaller">(A2:ACR)</span>
| [[Takistan]]
| 2008-10-11 09h20
| 2009-05-28 16:20
|-
| [[Takistan]]<br>Takistan cut out <span style="font-size: smaller">(A2:ACR)</span></span>
| 2009-05-28 16h20
|-
|-
| [[Zargabad]]
| [[Zargabad]]
| 2009-05-29 11h30
| 2009-05-29 11:30
|-
|-
| [[Bystrica]] <span style="font-size: smaller">(A2:ACR)</span>
| [[Desert]]
| 2010-07-06 10h00
| 2012-06-24 07:30
|-
|-
| [[Desert]]
! {{Link|{{Name|arma2baf}}|{{Name|arma2baf|short}}}}
| 2012-06-24 07h30
| [[Shapur]]
| 2012-07-24 10:00
|-
|-
! {{Link|{{Name|arma2pmc}}|{{Name|arma2pmc|short}}}}
| [[Proving Grounds]]
| [[Proving Grounds]]
| 2012-06-24 13h00
| 2012-06-24 13:00
|-
|-
| [[Shapur]]
! rowspan="3" | {{Link|{{Name|arma2acr}}|{{Name|arma2acr|short}}}}
| 2012-07-24 10h00
| [[Bukovina]]
| 2008-10-11 09:20
|-
| [[Takistan]] (cut out)
| 2009-05-28 16:20
|-
| [[Bystrica]]
| 2010-07-06 10:00
|-
|-
! rowspan="4" | [[{{arma3}}]]
! rowspan="4" | {{GameCategory|arma3|link= y}}
| [[Stratis]]
| [[Stratis]]
| 2035-06-06 12h00
| 2035-06-06 12:00
|-
|-
| [[Altis]]
| [[Altis]]
| 2035-06-24 12h00
| 2035-06-24 12:00
|-
|-
| [[Malden 2035]]
| [[Malden 2035]]
| 2035-06-24 12h00
| 2035-06-24 12:00
|-
|-
| [[Virtual Reality]]
| [[Virtual Reality]]
| 2035-05-28 13h37
| 2035-05-28 13:37
|-
|-
! [[{{Name|arma3apex}}]]
! [[{{Name|arma3apex}}]]
| [[Tanoa]]
| [[Tanoa]]
| 2035-06-06 12h00
| 2035-06-06 12:00
|-
|-
! [[{{Name|arma3contact}}]]
! [[{{Name|arma3contact}}]]
| [[Livonia]]
| [[Livonia]]
| 2035-06-24 10h00
| 2035-06-24 10:00
|-
|-
! rowspan="2" | [[Global Mobilization|Global<br>Mobilization]]
! rowspan="2" | [[Global Mobilization|Global<br>Mobilization]]
| [[Global Mobilization Weferlingen|Weferlingen]]
| [[Global Mobilization Weferlingen|Weferlingen]]
| 1983-08-03 09h15
| 1983-08-03 09:15
|-
|-
| [[Global Mobilization Weferlingen|Weferlingen (Winter)]]
| [[Global Mobilization Weferlingen|Weferlingen (Winter)]]
| 1984-01-19 10h45
| 1984-01-19 10:45
|-
|-
! rowspan="3" | [[{{tkoh}}|{{Name|tkoh|short}}]]
! rowspan="3" | {{GameCategory|tkoh|text= {{Name|tkoh|short}}}}
| [[Oil Rig]]
| [[Oil Rig]]
| 2011-01-04 09h20
| 2011-01-04 09:20
|-
|-
| [[Seattle]]
| [[Seattle]]
| 2013-05-08 11h20
| 2013-05-08 11:20
|-
|-
| [[South Asia]]
| [[South Asia]]
| 2012-06-01 10h20
| 2012-06-01 10:20
|}
|}
'''Format:'''
'''Format:'''
Line 102: Line 108:
[year, month, day, hour, minute]
[year, month, day, hour, minute]


{{Important | Please note that this array format does not contain seconds.}}
{{Feature|important|Please note that this array format does not contain seconds. See [[dayTime#Examples|daytime examples]] for an alternative.}}




Line 113: Line 119:
* minute - a number from 0 to 59
* minute - a number from 0 to 59


{{Informative | Using [[setDate]] with an incorrect (like negative or exceeding) value will still work properly:
{| class="valign-top" style="min-width: 80em"
<code>[[private]] _date {{=}} [[date]];<br><br><!--
|
-->{{cc|set hour to 25}}<br><!--
; Commands
-->_date [[set]] [3, 25];<br><br><!--
-->[[setDate]] _date;<br><!--
-->{{cc|date {{=}} next day 1am}}</code>}}
 
 
'''Commands:'''
* [[date]]
* [[date]]
* [[setDate]]
* [[setDate]]
 
* [[dateToNumber]]
 
* [[numberToDate]]
'''Functions:'''
|
; Functions
{{Columns|2|
* [[BIS_fnc_setDate]]
* [[BIS_fnc_setDate]]
* [[BIS_fnc_calculateDateTime]]
* [[BIS_fnc_calculateDateTime]]
* [[BIS_fnc_calculateDateTime]]
* [[BIS_fnc_compareDateTimes]]
* [[BIS_fnc_fixDate]]
* [[BIS_fnc_isDateTimeNewer]]
* [[BIS_fnc_isLeapYear]]
* [[BIS_fnc_monthDays]]
* [[BIS_fnc_sunriseSunsetTime]]
}}
|}




[[Category:Arrays]]
[[Category:Arrays]]

Latest revision as of 11:15, 26 November 2023

Default Mission Editor Terrains dates
Game Terrain DateTime
OFP Everon 1985-05-10 07:30
Malden
Kolgujev
Desert Island
OFP:R Nogova 1985(?)-05-10 07:30
ArmA Sahrani 2007-06-07 08:30
Southern Sahrani
Rahmadi
Arma:QG United Sahrani 2008-06-24 15:30
Porto 2008-06-24 15:30
Arma 2 Utes 2008-10-11 14:20
Chernarus
Arma 2:OA Takistan 2009-05-28 16:20
Zargabad 2009-05-29 11:30
Desert 2012-06-24 07:30
Arma 2:BAF Shapur 2012-07-24 10:00
Arma 2:PMC Proving Grounds 2012-06-24 13:00
Arma 2:ACR Bukovina 2008-10-11 09:20
Takistan (cut out) 2009-05-28 16:20
Bystrica 2010-07-06 10:00
Arma 3 Stratis 2035-06-06 12:00
Altis 2035-06-24 12:00
Malden 2035 2035-06-24 12:00
Virtual Reality 2035-05-28 13:37
Arma 3 Apex Tanoa 2035-06-06 12:00
Arma 3 Contact Livonia 2035-06-24 10:00
Global
Mobilization
Weferlingen 1983-08-03 09:15
Weferlingen (Winter) 1984-01-19 10:45
TKOH Oil Rig 2011-01-04 09:20
Seattle 2013-05-08 11:20
South Asia 2012-06-01 10:20

Format:

[year, month, day, hour, minute]

Please note that this array format does not contain seconds. See daytime examples for an alternative.


Description: all values are Numbers. month and day start at 1:

  • year - year set in the game (see side table)
  • month - a number from 1 to 12
  • day - a number from 1 to 31
  • hour - a number from 0 to 23
  • minute - a number from 0 to 59
Commands
Functions