GetTimeMinute()
From NWN Lexicon
Jump to navigationJump to search
Gets the current minute.
int GetTimeMinute();
Description
Returns the current minute as an integer between 0 and 59 (maximum possible).
Remarks
By default an hour in game time is two minutes long so this function returns either a 0 or a 1. The number of minutes in an hour can be configured in the advanced properties of a module and can be obtained with HoursToSeconds.
For getting the real server time you can use sqlquery eg:
SqlPrepareQueryObject(GetModule(), "SELECT STRFTIME(@fmt, 'now', 'localtime')")
See Also
| functions: |
HoursToSeconds SetTime GetTimeHour GetTimeSecond GetTimeMillisecond |
author: Charles Feduke, additional contributor(s): Dana C.