Wanted to know how to get All Saturdays and Sundays date in a year?

Certified Associate Developer

Hi there,

I have a requirement to get the date of All Saturdays and Sundays in a year,

please let me know if there is a way to do it.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to meghanas0001

    weekday(date, return_type)

    Returns the day of the week of the specified date or datetime.

    Returns: Number (Integer)

    date (Date): The date or datetime that the day of the week will be calculated from.

    .return_type:  '1' correlates 1 ... 7 with Sunday ... Saturday (this is the default). '2' correlates 1 ... 7 with Monday ... Sunday. '3' correlates 0 ... 6 with Monday ... Sunday.

Children
No Data