Copyright © 2003 - 2004 Enrique Marcote Peña
Version: 1.0, {19 Feb 2003} 12:29:46.
Authors: Enrique Marcote Peña (mpquique@users.sourceforge.net) [web site: http://www.des.udc.es/~mpquique/].
My own calendar functions.
day/0 | Returns the day number on current year for today. |
day/1 | Returns the day number on that Year for Date. |
day/3 | Returns the day number on that Year for the Day of Month. |
day_of_current_week_to_date/1 | Returns the date for a given day of current week. |
expired/1 | Returs the atom true if the time returned by the BIF now/0 is greater than Time, false otherwise. |
then/1 | This function adds TimeLapse microseconds to the result of the BIF now/0. |
time_since/1 | Returns the microseconds since Time. |
time_until/1 | Returns the microseconds until Time. |
week/0 | Returns the week number on current year for today. |
week/1 | Returns the week number on that Year for Date. |
week/3 | Returns the week number on that Year for the Day of Month. |
day() -> int()
Returns the day number on current year for today.
day(X1::Date) -> int()
Returns the day number on that Year for Date.
day(Year::Year, Month::Month, Day::Day) -> int()
Returns the day number on that Year for the Day of Month.
day_of_current_week_to_date(DayNumber::DayNumber) -> {Year, Month, Day}
Returns the date for a given day of current week.
expired(X1::Time) -> true | false
Returs the atom true if the time returned by the BIF now/0 is greater than Time, false otherwise.
then(TimeLapse::TimeLapse) -> {MegaSecs, Secs, MicroSecs}
This function adds TimeLapse microseconds to the result of the BIF now/0.
time_since(X1::Time) -> TimeLapse
Returns the microseconds since Time.
time_until(X1::Time) -> TimeLapse
Returns the microseconds until Time.
week() -> int()
Returns the week number on current year for today.
week(X1::Date) -> int()
Returns the week number on that Year for Date.
week(Year::Year, Month::Month, Day::Day) -> int()
Returns the week number on that Year for the Day of Month.