User Tools

Site Tools


addons:using_libs:ffxi.vanatime

This is an old revision of the document!


Vanatime Library

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

The following functions are exposed by this library:

number VanaTime.GetRawTimestamp();

  • Parameters
    • Function has no arguments.
  • Returns
    • The raw timestamp value.

string VanaTime.GetCurrentTimestamp();

  • Parameters
    • Function has no arguments.
  • Returns
    • A formatted string of the current Vana'diel time.

table VanaTime.GetCurrentTime();

  • Parameters
    • Function has no arguments.
  • Returns
    • A table containing various time data.
      • The following indexes are: Hour, Minutes, Seconds

number VanaTime.GetCurrentHour();

  • Parameters
    • Function has no arguments.
  • Returns
    • The current Vana'diel hour.

number VanaTime.GetCurrentMinute();

  • Parameters
    • Function has no arguments.
  • Returns
    • The current Vana'diel minute.

number VanaTime.GetCurrentSecond();

  • Parameters
    • Function has no arguments.
  • Returns
    • The current Vana'diel second.

table VanaTime.GetCurrentDate();

  • Parameters
    • Function has no arguments.
  • Returns
    • A table containing various time data.
      • The following indexes are: WeekDay, Day, Month, Year, MoonPercent, MoonPhase
addons/using_libs/ffxi.vanatime.1448008253.txt.gz · Last modified: 2015/11/20 00:30 by atom0s