Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

getYear

Description

Returns the year from the specified time value.

Arguments

1 number time

the time value.

2 number baseYear

the base year value. Defaults to baseYear (1998) if none is provided.

Returns

1 number

the year from the specified time value.