FFXi Vanatime Library

The FFXi Vanatime library exposes functions useful to obtain the current Vana'diel time information.

The following functions are exposed by this library:

number VanaTime.GetRawTimestamp();

string VanaTime.GetCurrentTimestamp();

table VanaTime.GetCurrentTime();

number VanaTime.GetCurrentHour();

number VanaTime.GetCurrentMinute();

number VanaTime.GetCurrentSecond();

table VanaTime.GetCurrentDate();

The following values are defined from the vanatime library.

MOONPHASE_NEW               = 0;
MOONPHASE_WAXINGCRESCENT    = 1;
MOONPHASE_WAXINGCRESCENT2   = 2;
MOONPHASE_FIRSTQUARTER      = 3;
MOONPHASE_WAXINGGIBBOUS     = 4;
MOONPHASE_WAXINGGIBBOUS2    = 5;
MOONPHASE_FULL              = 6;
MOONPHASE_WANINGGIBBOUS     = 7;
MOONPHASE_WANINGGIBBOUS2    = 8;
MOONPHASE_LASTQUARTER       = 9;
MOONPHASE_WANINGCRESCENT    = 10;
MOONPHASE_WANINGCRESCENT2   = 11;
MOONPHASE_UNKNOWN           = 12;
WEEKDAY_FIRESDAY            = 0;
WEEKDAY_EARTHSDAY           = 1;
WEEKDAY_WATERSDAY           = 2;
WEEKDAY_WINDSDAY            = 3;
WEEKDAY_ICEDAY              = 4;
WEEKDAY_LIGHTNINGDAY        = 5;
WEEKDAY_LIGHTSDAY           = 6;
WEEKDAY_DARKSDAY            = 7;
WEEKDAY_UNKNOWN             = 8;