> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # DateTimeSkill > Get the current date and time with optional timezone support. [add-skill]: /docs/server-sdks/reference/typescript/agents/agent-base/add-skill [base-parameters]: /docs/server-sdks/reference/typescript/agents/skills#base-parameters Get the current date and time with optional timezone support. **Class:** `DateTimeSkill` **Tools:** `get_current_time`, `get_current_date` **Env vars:** None No custom parameters. This skill inherits only the [base parameters][base-parameters]. ```typescript {5} import { AgentBase, DateTimeSkill } from '@signalwire/sdk'; const agent = new AgentBase({ name: 'assistant', route: '/assistant' }); agent.setPromptText('You are a helpful assistant.'); await agent.addSkill(new DateTimeSkill()); agent.run(); ``` > Get the current date and time with optional timezone support.