Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
18 lines (17 sloc) 476 Bytes
metadata:
title: Selecting a timezone
documentation: "https://docassemble.org/docs/functions.html#timezone_list"
---
question: |
What is your time zone?
fields:
- Time zone: user_timezone
default: "America/New_York"
code: |
timezone_list()
---
question: |
The time in your timezone is
${ current_datetime(timezone=user_timezone).format_date('MM/dd/yyyy') } at
${ current_datetime(timezone=user_timezone).format_time('h:mm a') }.
mandatory: True