Is there any easy way to convert from erlang datetime notation to the now/0 notation?
Basically I need the inverse of this function:
{Date, Time} = calendar:now_to_datetime(now()).
So something like
{Megaseconds, Seconds, Microsecods} = datetime_to_now({Date, Time})