anchor.diff:  	Args = [Year, Month, Day, Hour, Min, Seconds],
   	A = io_lib:format("~B-~2.10.0B-~2.10.0B ~2.10.0B:~2.10.0B:~2.10.0B", Args),
   	lists:flatten(A).
  -	
  +
  +get_formated_date_for_now(Now) ->
  +	get_formated_date(calendar:now_to_local_time(Now)).
   
   get_first_day({Y, M, _D}) ->
   	FromDate = date_lib:create_date_string({{Y, M, 1}, {0,0,0}}).
  
positive.code: timestamp_to_date(Time) when is_binary(Time) ->
  	date:get_formated_date(calendar:gregorian_seconds_to_datetime(erlang:list_to_integer(erlang:binary_to_list(Time)))).
  
  -include_lib("eunit/include/eunit.hrl").
  -ifdef(TEST).
  create_date_from_string_test() ->
  	?assertEqual({{2012,10,30}, {00,00,00}}, create_date_from_string("2012-10-30")).
  	
  
negative.code: 	
  create_date_german_string_test() ->
  		?assertEqual("20.10.2012", create_date_german_string({{2012,10,20}, {0,0,0}})).
  get_formated_date_test() ->
  	?assertEqual("2013-05-23 11:39:02", get_formated_date({{2013,5,23},{11,39,2}})).
  
  get_formated_date_for_now_test() ->
  	?assertEqual("2013-05-23 11:44:05", get_formated_date_for_now({1369,302245,468365})).
  
  -endif.
  