Simplicty and flexibility!


Function::String

SpellWeekday


Parameters


Returns/Result


Examples


Reference

spellweekday

Type

Spell Function

Purpose

The spellweekday function spells the name of the day that corresponds to a numeric value from 1 (Monday) to 7 (Sunday).

Syntax

spellweekday( NUMERIC VALUE)

Returns

A text value.

Examples

spellweekday( 5)

Returns: Friday

 

spellweekday( weekday( 12/31/99)

Returns: Sunday

 

spellweekday( weekday( highest of RESERVATIONS DATE ) )

Returns: The name of the day that corresponds to the value in the most recent reservation's DATE field. If the most recent RESERVATIONS record contains the value 10/31/99 in the DATE field, the function returns Tuesday.

See Also


On the forum about SpellWeekday

On the blog about SpellWeekday


dg3_HelpView