How to display todays date in my full calendar agendaDay of today
How to display todays date in my full calendar agendaDay of today
I have a full calendar and I want to display the current date on my left side of the screen which is a defaultView: 'agendaDay'.
Only by clicking the next or prev btn I can able to view the agendaDay.
Below is the screen what I am wanting the result, also I have attached a Fielded for it. Please suggest.
jsfiddle.net/wpL7ygdu
1 Answer
1
Did you try set calendar to today's date?
$('#calendar').fullCalendar(
defaultDate: new Date()
);
Best!
Krzysztof
Is it possible for you to prepare working fiddle? The one above doesn't show calendar.
– Krzysztof Kaźmierczak
Sep 12 '18 at 14:56
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
still showing blank and by clicking next its showing calender month-wise now and its not in agendaDay.
– Middlerange
Sep 11 '18 at 20:46