Time::getPosixTime

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Gets system time as year, month, day, hour, minute and second.

Example usage:

int year;
int month;
int day;
int hour;
int minute;
int second;

TIME::GET_POSIX_TIME(&year, &month, &day, &hour, &minute, &second);

Syntax

mp.game.time.getPosixTime(year, month, day, hour, minute, second);

Required Arguments

  • year: int
  • month: int
  • day: int
  • hour: int
  • minute: int
  • second: int

Return value

  • object: year, month, day, hour, minute, second

Example

// todo

See also

Template:Time s function c