Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,639,511
Community Members
 
Community Events
196
Community Groups

Is there an available addon or a macro I'm missing in order to popup a calendar screen, then choose the date being input onto the page?

Creating a new meeting agenda template where when the page is created, you click the "DATE" field, select the date of the meeting, then continue to build the agenda.

Thanks!

5 answers

2 accepted

51 votes
Answer accepted
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 04, 2014

Hi Sean,

As far as I know, if you just type double forward slash inside a page, "//", it should bring a date picker in the latest versions of confluence.

This is bundled with the application :)

Cheers,

Rodrigo

Thanks!!! This works like charm.. Hidden Feature :-)

Like Chris_Christou likes this

Is this documented anywhere? I wonder what other similar tricks I might be missing out on.

It does the Date but not the time. Would be nice to have an option to add the time as well.

Like Rach likes this

That was so quick

 

Thanks,

CJ 

Thanks @Rodrigo Adami!

@Rodrigo Adami  is there a way to enter the time as well?

Thanks

Nancy Lopez
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 20, 2018

The // spec is listed here under the Date Picker design docs: 

https://atlassian.design/server/components/date-picker/

But is there a macro to have that calendar pop-up (like when u use // ) appear dynamically on pages, so users can pick dates? The double forward slash appears only when creating the page but not active after publishing.

1 vote
Answer accepted
Yagnesh Bhat
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Aug 18, 2014

If you are plannning to create a customized template, include this in your form (soy Template) , highlighted in bold. Then create a blueprint that accepts this value and then pass this on to the page created by the blueprint.

<div class="field-group">

<label for="some-date">{getText('some.blueprint.wizard.form.label.date')}</label>

<input id="some-date" class="datepicker-field date-field text" type="text" name="date" size="10" autocomplete="off">

</div>

More on creating blueprints here : https://developer.atlassian.com/display/CONFDEV/Confluence+Blueprints

Be sure to check out the child pages of the above link for more complex examples.

Thanx! I know it's an old thread, but above doesn't seem to work (anymore).

The URL provided by Nancy Lopez above here has another example:

 

<input class="aui-date-picker" id="demo-range-2" type="date" max="2012-01-25" min="2011-12-25" />

 

That one seems to work in Templates, but the style is different from Confluence Date-Picker..

@ICT Gemeente Tynaarlo ,

I tried in Confluence 7.4. It shows while saving the template but not while creating the page. Later if you open the template in edit mode, the changes disappear.

0 votes
Elena Ovdienko _Stiltsoft_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Apr 03, 2022

Hello Community,

Handy Date from Handy Macros for Confluence adds the ability to change dates in the page view mode without editing the page. It's available for any hosting. This app also includes macros to create dropdowns, buttons, timestamps, and others so you can get much more than just a date picker with its help. See the gif below for details

Date.gif

For anyone else that's looking for an answer to how to do this in a template, it looks like you can insert "$currentDateLozenge" in the template to get the date picker, set to the current date by default. This appears to be how some default templates do it, and there's no need to use the Source Editor plugin.

Time to change the accepted answer to the one with 27 upvotes.

But is there a way for the Date Picker to be used without going into Edit mode?

Like Rach likes this
Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 07, 2018

Casey, do you want to change date without editing the page? If yes, take a look at Handy Macros add-on, it has Handy Date tool that makes date macros editable while viewing the page.

Yes, that seems to be just another add-on we have to purchase for such a simple functionality.  We are limited on how much we are willing to spend on making Confluence become user friendly without spending.

I was hoping for an affordable option.

Like # people like this

Still looking for native Confluence macro on this, we shouldn't have to buy an add-on

Like Noumenon72 likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events