Function now()

← Back to Module time



Module time → now()

Description

Get current Unix timestamp in seconds

now()


Parameters

There are no parameters.


Return Value


Usage Example

import time
 
date = now()
get_year(date)   ' Returns 2021 (current year)