Title: Current Date
Last modified: March 16, 2017

---

# Current Date

 *  Resolved [kakashi-hatake](https://wordpress.org/support/users/kakashi-hatake/)
 * (@kakashi-hatake)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/current-date-3/)
 * Hi there,
 * Is there anyway to highlight the current/Today date? please hep me in this regards.
 * Regards,
    Neil

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [wpbookingsystem](https://wordpress.org/support/users/wpbookingsystem/)
 * (@wpbookingsystem)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/current-date-3/#post-8986254)
 * Hi Neil,
 * Can you try this?
 * .wpbs-day.wpbs-today>span {
    font-weight:bold; }
 * This makes today ‘bold’.
 *  Thread Starter [kakashi-hatake](https://wordpress.org/support/users/kakashi-hatake/)
 * (@kakashi-hatake)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/current-date-3/#post-9018245)
 * Hi there,
 * Thank you so much for the reply but it isn’t working. I managed to do it with
   javascript/jQuery. Below is the code, I hope it would help somebody:
 *     ```
           var monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
           var getd = new Date();
           var daydate = getd.getDate();
           $( 'div.wpbs-calendar .customSelect_wpbs span.customSelect_wpbsInner:contains(' + monthNames[getd.getMonth()] + ')' ).parents('.wpbs-heading').parents('.wpbs-calendar').addClass('currentmonth');
           if($('.wpbs-calendar.currentmonth ul li > span.wpbs-day-split-day').is(':contains('+ daydate +')')) {
             $('.wpbs-calendar.currentmonth ul li > span.wpbs-day-split-day:contains('+ daydate +')').parents('li').addClass('todaysdate');
           }
       ```
   
 * Please wrap the above code in “document.ready” function.
 * The above code will add “todaysdate” class to current date, then you can style
   it.
 * In order to check that is it working, just go to [https://www.wpbookingsystem.com/tour/](https://www.wpbookingsystem.com/tour/)
   
   and execute the above code using chrome inspector in console. There are some 
   demo calendars, you can inspect them and you will see that the class has been
   added.
 * Working demo: [http://fxindex.net/?speciality&location&um_search=1](http://fxindex.net/?speciality&location&um_search=1)
   in calendar tab.
 * Kind regards,
    Neil B.
 *  [wpbookingsystem](https://wordpress.org/support/users/wpbookingsystem/)
 * (@wpbookingsystem)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/current-date-3/#post-9021908)
 * Thanks for your contribution!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Current Date’ is closed to new replies.

 * ![](https://ps.w.org/wp-booking-system/assets/icon-256x256.gif?rev=2691961)
 * [WP Booking System - Booking Calendar](https://wordpress.org/plugins/wp-booking-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-booking-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-booking-system/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-booking-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-booking-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-booking-system/reviews/)

## Tags

 * [date](https://wordpress.org/support/topic-tag/date/)

 * 3 replies
 * 2 participants
 * Last reply from: [wpbookingsystem](https://wordpress.org/support/users/wpbookingsystem/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/current-date-3/#post-9021908)
 * Status: resolved