--- title: "time12Text" slug: "tools-time12text" updated: 2025-11-06T18:58:45Z published: 2025-11-06T18:58:45Z canonical: "docs.doc-know.com/tools-time12text" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.doc-know.com/llms.txt > Use this file to discover all available pages before exploring further. # time12Text ### tools.time12Text Type: **Text** Returns the current time in **12-hour** (**h:mm tt**) format. ### Examples ``` // display the current time (12-hour) in the debugger debug.log(tools.time12Text); ``` ### Remarks Use this property when you need a **Text-based** representation of the current time. Normal **DateTime** comparisons and operations cannot be performed on **Text** objects.