I love the smell of UnrealEd crashing in the morning. – tarquin

Difference between revisions of "UE2:Time (UT2004)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
m (added description)
 
Line 3: Line 3:
 
| parent1 = Object
 
| parent1 = Object
 
}}
 
}}
{{autogenerated}}
+
Like the {{cl|Locale}} class, Time doesn't actually contain any implementation. [[UnrealScript]] does not provide support for [[wp:time zone|time zone]]s. The current local date and time can be accessed through variables of the {{cl|LevelInfo}} class.
/ Time-management class.
+
/ Not yet implemented.
+
/ This is a built-in Unreal class and it shouldn't be modified.
+
/
+
/ Coordinated Universal Time or UCT is the world standard time
+
/ representation which is independent of time zone and daylight
+
/ savings time. The UCT standard supercedes the obsolete Grenwich
+
/ Mean Time (GMT).
+
/
+
/ UCT is technically the time on the zeroth meridian plus 12 hours.
+
/ For example, to convert UCT to EST (Eastern Standard Time), subtract
+
/ 5 hours from UCT and then (??if dst).
+
/
+
/ By definition, UCT experiences a discontinuity when a leap second
+
/ is reached. However, this discontinuity is never exposed while Unreal is
+
/ running, as UCT is determined at startup time, and UCT is updated
+
/ continuously during gameplay according to the CPU clock.
+
/
+
/ Unreal time is exposed as a long (a 64-bit signed quantity) and
+
/ is defined as nanoseconds elapsed since
+
/ midnight (00:00:00), January 1, 1970.
+
/
+
/ For more information about UCT and time, see
+
/  http://www.bldrdoc.gov/timefreq/faq/faq.htm
+
/  http://www.boulder.nist.gov/timefreq/glossary.htm
+
/  http://www.jat.org/jtt/datetime.html
+
/  http://www.eunet.pt/ano2000/gen_8601.htm
+

Latest revision as of 05:04, 6 December 2008

UT2004 Object >> Time
Package: 
Core
This class in other games:
RTNP, U1, UT, UE2Runtime, UT2003, U2, U2XMP

Like the Locale class, Time doesn't actually contain any implementation. UnrealScript does not provide support for time zones. The current local date and time can be accessed through variables of the LevelInfo class.