--- title: "seconds()" slug: "date-seconds" updated: 2026-08-13T08:52:47Z published: 2026-08-13T08:52:47Z canonical: "docs.lobstersoftware.com/date-seconds" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # seconds() This function returns the seconds of date **a**. ## Parameters | Parameter | Description | | --- | --- | | a | Date | ## Examples | Parameter a | Result | | --- | --- | | 2005-01-05 08:20:12 | 12 | | 2005-01-05 | 0 |