DAYOFWEEK function

[ Follow Ups ] [ Post Followup ] [ Forum ]

Posted by Yves Ste-Marie on July 02, 2014 at 10:56:27:

Anyone knows how to use this function ?

From CometWiki
Jump to: navigation, search
DayOfWeek Function -- Part of the CometDate series of functions.

Syntax: DayOfWeek(CometDate)

Discussion: The CometDate DayOfWeek function extracts the Day of the week from a CometDate Date Serial Number. CometDates are based on a date of January 1, 1800. CometDates before that date are negative and after are positive.

CometDate Weeks begin on Sunday ... The DayOfWeek function for any Monday will yield 2.

The CometDate functions respect the rules for leap years (i.e., the years 1800 and 1900 were not leap years, but the year 2000 is a leap year).

The practical range of CometDates is -657071 (01/01/01) to 2994623 (12/31/9999) but dates outside of that range may be usable in some contexts. There is no year 0 AD, The date goes from 1BC to 1AD.

Follow Ups:

Post a Followup



What is the name of the main Signature System's Product?  


Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):

Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.

[ Follow Ups ] [ Post Followup ] [ Forum ]