# mu_datetime_julianday

### From Mailutils

(Difference between revisions)

Line 7: | Line 7: | ||

</syntaxhighlight> | </syntaxhighlight> | ||

- | The function <tt>mu_datetime_julianday</tt> computes the [http://en.wikipedia.org/wiki/Julian_day Julian day] corresponding to the given date. Both <tt>month</tt> and <tt>day</tt> start with 1. | + | The function <tt>mu_datetime_julianday</tt> computes and returns the [http://en.wikipedia.org/wiki/Julian_day Julian day] corresponding to the given 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_julianday (int year, int month, int day);

The function `mu_datetime_julianday` computes and returns the Julian day corresponding to the given date. Both `month` and `day` start with 1.