Module wsdk_calendar

Local and universal time conversions.

Copyright 2010-2012 ALEPH ARCHIVES Ltd. All rights reserved.

Version: 1.0.0

Authors: Aleph Archives Ltd. [web site: http://aleph-archives.com/].

Description

Local and universal time conversions.

Function Index

datetime_to_iso8601/1Convert an Erlang DateTime to ISO 8601 time representation.
iso8601_to_datetime/1Convert an ISO 8601 time to Erlang DateTime.

Function Details

datetime_to_iso8601/1

datetime_to_iso8601(DateTime::calendar:datetime()) -> binary()

Convert an Erlang DateTime to ISO 8601 time representation.

iso8601_to_datetime/1

iso8601_to_datetime(Iso8601::binary()) -> calendar:datetime()

Convert an ISO 8601 time to Erlang DateTime.


Generated by EDoc, Sep 5 2012, 17:38:09.