Fully Automatic now, no more manual settings.
// Vana Time ACTool v1.0
// NotMe (NotMe1963)
// Based on the Javascript Timer at http://ffxi.xenoveritas.org/tools/vanaclock/time.shtml
// This version reads from the registry.
// Specifically it reads:
// HKLM, System\CurrentControlSet\Control\TimeZoneInformation\ActiveTimeBias
// Thus this should work without changes and will work even when Daylight Saving changes occur.
// As long as your system clock is accurate and timezone set correctly this should work.
// This is meant to be used as an include in another script. It's called by using the function variable
(*
// Sample Script and output:
include .\VanaTime.mac
timestamp $info_Vana_DateTime
timestamp $info_Vana_Date
timestamp $info_Vana_DayOfWeek
timestamp $info_Vana_Time
timestamp $info_MoonPercent
*)(*
TimeStamp: 08/14/2006 01:04:56:510 pm - Vana'deil: 5:03:20 - 1003/2/29, Watersday - Moon: 14%
TimeStamp: 08/14/2006 01:04:56:730 pm - 1003/2/29
TimeStamp: 08/14/2006 01:04:56:930 pm - Watersday
TimeStamp: 08/14/2006 01:04:57:131 pm - 5:03:45
TimeStamp: 08/14/2006 01:04:57:341 pm - 14%
*)