[Erlang Systems]

calendar

MODULE

MODULE SUMMARY

DESCRIPTION

EXPORTS

date_to_gregorian_days(Year, Month, Day) -> Days
date_to_gregorian_days(Date) -> Days

datetime_to_gregorian_seconds(DateTime) -> Days

day_of_the_week(Date) -> DayNumber
day_of_the_week(Year, Month, Day) -> DayNumber

gregorian_days_to_date(Days) -> Date

gregorian_seconds_to_datetime(Secs) -> DateTime

is_leap_year(Year) -> bool()

last_day_of_the_month(Year, Month) -> int()

local_time() -> {Date, Time}

local_time_to_universal_time({Date, Time}) -> {Date, Time}

now_to_local_time(Now) -> {Date, Time}

now_to_universal_time(Now) -> {Date, Time}
now_to_datetime(Now) -> {Date, Time}

seconds_to_daystime(Secs) -> {Days, Time}

seconds_to_time(Secs) -> Time

time_difference(T1, T2) -> Tdiff

time_to_seconds(Time) -> Secs

universal_time() -> {Date, Time}

universal_time_to_local_time({Date, Time}) -> {Date, Time}

valid_date(Date) -> bool()
valid_date(Year, Month, Day) -> bool()

Leap Years

Date and Time Source

AUTHORS


stdlib 1.9.1
Copyright © 1991-2000 Ericsson Utvecklings AB