utils.defines.time
Returns the number of ticks in a second, minute, hour, day, week, month, or year. @table time @usage local ten_seconds = defines.time.second * 10
Fields7
M.second: integer = 60
the number of Factorio ticks in a second
M.minute: integer = 3600
the number of Factorio ticks in a second
M.hour: integer = 216000
the number of Factorio ticks in an hour
M.day: integer = 5184000
the number of Factorio ticks in an day
M.week: integer = 36288000
the number of Factorio ticks in a week
M.month: integer = 155520000
the number of Factorio ticks in a month (30 days)
M.year: integer = 1892160000
the number of Factorio ticks in a year (365 days)