In Confluence, we are using date filed on a page, when we type // it is giving a date picker. Our need is to set the default date of the control is current date.
Hi @Karteek ,
If you press enter key after // then it will display the current date on your confluence page.
By default, the date picker field will always point to the current date.
Thanks,
Manisha
Hello Karteek,
Nice to hear from you again!
There is a variable called $currentDate, but this is only included with the Meeting Notes Blueprint. There's a feature request below to be able to access those variables in other templates:
If you're on Confluence Server, then you can write a User Macro to do this. There are more details on the thread below:
You can modify this User Macro to your needs, but you'd be able to insert the macro into any template you'd like and it'll automatically show the current date and time.
Additionally, you can just do what @Manisha Kharga _Appfire_ suggested, and use the date macro. For this, you might want to add some Instructional Text in your template to guide your users to select the current date using the macro.
Let us know if this helps!
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.