API C DateAndTime.GetCurrentCalendarTime

Returns the realm's current date and time.
 currentCalendarTime = C_DateAndTime.GetCurrentCalendarTime()
==Returns==
:;currentCalendarTime:
==Example==
local d = C_DateAndTime.GetCurrentCalendarTime()
local weekDay = CALENDAR_WEEKDAY_NAMES[d.weekday]
local month = CALENDAR_FULLDATE_MONTH_NAMES[d.month]
print(format("The time is %02d:%02d, %s, %d %s %d", d.hour, d.minute, weekDay, d.monthDay, month, d.year))
-- The time is 07:55, Friday, 15 March 2019
==Comparison==
==Patch changes==