show / hide menu

GetDayName

This function can be used to get the name of the day in a date. For example, the given date is 6/14/2024(in any format) the function will return Friday as the result.

Syntax : GetDayName(Date value)

Date Value is the given date

Examples :

textbox1.Value = GetDay( dtFromDate.Value ) – This example shows how we can use a date from two datetimepicker controls and find the day part.