dname()

Function group Execute on client Platform(s)
Date and Time NO All

Syntax

dname(datepart,date)

Description

Returns the name of the day or month of a specified date, depending on a datepart constant which can be either kMonth or kDay.

Example

Calculate lDate as dname(kMonth,#D)
; returns May, assumes #D is May 8, 2003