Does mobiscroll have a method to get the day of week?

394 views Asked by At

Does mobiscroll have a method to get the day of week in given language (set from 'lang' option). I could not find in the docs.

Bellow is a snippet code what I want to achieve.

$('#mobiscroll').mobiscroll().calendar({
    onSet: function (event, inst) {
      var DayOfWeek = event. // ex: Saturday
      var Day = event. // ex: 20
      var Year = event. // ex: 2020
    }
});
1

There are 1 answers

0
Levi Kovacs On

You could get it from the dayNames array, but I'm not sure how does that help you?