Available since Version 1.0.
Returns the total seconds since January 1, 1970 (Unix epoch) as a number.
Syntax
DateTime.Now()Arguments
No arguments.
Return Values
(number): The total seconds since January 1, 1970 (Unix epoch).
Examples
local currentTime = DateTime.Now()
print(currentTime) -- Outputs: 1625159073 (example output, will vary based on current time)