anchor.diff:  	DT = {{list_to_integer(Y), list_to_integer(M) ,list_to_integer(D)}, {list_to_integer(HH),list_to_integer(MM),list_to_integer(SS)}},
   	get_date_seconds(DT).
   
  -
   create_simple_date_from_string([]) ->
   	erlang:date();	
   create_simple_date_from_string(Date) ->
  
positive.code:     calendar:datetime_to_gregorian_seconds(Date_time).
  
  get_start_datetime() ->
  	get_formated_date({erlang:date(), {00,00,00}}).
  
  get_end_datetime() ->
  	get_formated_date({erlang:date(), {23,59,59}}).
  
  is_date_in_range(Akt_date, Date) ->	
  	calendar:datetime_to_gregorian_seconds(Akt_date) - calendar:datetime_to_gregorian_seconds(Date) < 0.
  
negative.code: seconds_to_date_test() ->
  	?assertEqual("2015-05-07 06:40:36", seconds_to_date(63598200036)).	
  
  get_formated_date_for_seconds_test() ->	
  	?assertEqual("2015-05-07_06:40:36", get_formated_date_for_seconds(63598200036)).
  
  -endif.
  