Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.31

Description

Description:Returns the time the sun rises on the specified date, at the current world location.

Syntax

Syntax:getSunRise date
Parameters:
  • date: Array - [year, month, day, hour, minute] - Hour and minute are optional, and are not interpreted.
Return Value:Array - Time of sunrise [year, month, day, hour, minute].

Examples

Examples:
_riseTime = getSunRise [2010,12,31]

Additional Information

See also: getSunSet, daytime, sunOrMoon
Multiplayer:
Problems:

Notes







Posted on Oct 03, 2011
Kronzky
Times returned by getSunRise are normally an hour later than when the sun actually crosses the horizon (V1.50)