anchor.diff:  construct_date({Y, M, D}) ->
   	lists:concat([Y ,"-" ,M ,"-", D]).
   	
  -get_formated_date(Date) ->
  +get_formated_date(space, Date) ->
   	{{Year,Month,Day},{Hour,Min,Seconds}} = Date,
   	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(minus, Date) ->
  +	get_formated_date("~B-~2.10.0B-~2.10.0B_~2.10.0B:~2.10.0B:~2.10.0B", Date);
  +
  +get_formated_date(Format, Date) ->
  +	{{Year,Month,Day},{Hour,Min,Seconds}} = Date,
  +	Args = [Year, Month, Day, Hour, Min, Seconds],
  +	A = io_lib:format(Format, Args),
   	lists:flatten(A).
   
   get_formated_date_for_now(0) ->
   	get_formated_date_for_now(now());
   
   get_formated_date_for_now(Now) ->
  -	get_formated_date(calendar:now_to_local_time(Now)).
  +	get_formated_date(space, calendar:now_to_local_time(Now)).
   
   get_formated_date_for_seconds(Seconds) ->
  -	get_formated_date(calendar:gregorian_seconds_to_datetime(Seconds)).
  +	get_formated_date(minus, calendar:gregorian_seconds_to_datetime(Seconds)).
   
   get_first_day({Y, M, _D}) ->
   	date_lib:create_date_string({{Y, M, 1}, {0,0,0}}).
  
positive.code: 	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) ->
  
negative.code:     calendar:datetime_to_gregorian_seconds(Date_time).
  
  get_start_datetime() ->
  	get_formated_date(space, {erlang:date(), {00,00,00}}).
  
  get_end_datetime() ->
  	get_formated_date(space, {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.
  