How to set default time for datepicker?

Confluence User - 22 Sep, 2021

I know that to get the current date from the system is to use to hash variable #date.yyyy-MM-dd#, but how to set the time to default like 9:00 am for current date?

datetime;forms

5


22 Sep, 2021 •
confluenceUser •
•
confluenceUser •

Try using #date.yyyy-MM-dd HH:mm#, see Hash Variable#DateHashVariable.

22 Sep, 2021 •
confluenceUser •
•
confluenceUser •

I know how to get current time using hash variable, what I wish is to set the time to a default value after getting current date

27 Sep, 2021 •
confluenceUser •
•
confluenceUser •

write this variable in the default property of the field

06 Jul, 2023 •
confluenceUser •
•
confluenceUser •

Hi,, how to set default time, im already using #date.h:mm a# , but its not work.




06 Jul, 2023 •
confluenceUser •
•
confluenceUser •

Do use the following hash for the time picker:

#date.hh:mm a#
RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print