FFU Get World Time - ironmonk108/monks-module-wiki GitHub Wiki

Get World Time

Retrieves the current world time from the game clock, formats it according to your preference, and stores it in a tile variable.

Time Format

Select how the world time should be formatted:

  • 24 Hour (HH:MM) (Default)
  • 24 Hour with Seconds (HH:MM:SS)
  • 12 Hour AM/PM (HH:MM AM/PM)
  • 12 Hour AM/PM with Seconds (HH:MM:SS AM/PM)

Variable Name*

The name of the tile variable to store the formatted time string into.

  • Defaults to myGameTime.
  • Can be referenced in subsequent actions using MATT handlebar notation (e.g., {{variable.myGameTime}}).

Notes

  • Time is calculated based on the total elapsed seconds in game.time.worldTime modulo 86,400 seconds (24 hours).
  • The formatted string is saved directly as a flag on the calling tile and returned as the action's output value.
  • Any issues with this action should be logged with FoundryFan Utilities.

Page Last Updated

  • Foundry 13.356
  • MATT 13.06
  • FoundryFan Utilities 1.5.0