now()
← Back to Module time
Get current Unix timestamp in seconds
There are no parameters.
number
import time date = now() get_year(date) ' Returns 2021 (current year)
Documentation version: 1.1.03. Updated on: 11 February 2026.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2026. All rights reserved.