Difference between revisions of "Mu datetime dayofweek"

From Mailutils
Jump to navigationJump to search
(Created page with "{{DISPLAYTITLE:mu_datetime_dayofweek}} <syntaxhighlight lang="C"> #include <mailutils/datetime.h> int mu_datetime_dayofweek (int year, int month, int day); </syntaxhighlight> ...")
 
 
Line 7: Line 7:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
The <tt>mu_datetime_dayofweek</tt> function computes the day of week (Sunday being 0), corresponding to the specified date.  Both <tt>month</tt> and <tt>day</tt> start with 1.
+
The <tt>mu_datetime_dayofweek</tt> function returns the day of week (Sunday being 0), corresponding to the specified date.  Both <tt>month</tt> and <tt>day</tt> start with 1.
  
 
== See also ==
 
== See also ==

Latest revision as of 11:03, 17 December 2011


#include <mailutils/datetime.h>

int mu_datetime_dayofweek (int year, int month, int day);

The mu_datetime_dayofweek function returns the day of week (Sunday being 0), corresponding to the specified date. Both month and day start with 1.

See also