anchor.diff:  	get_range(Log, Seconds * 1000, End);
   get_range(Log, Start, {{_, _, _}, {_, _, _}} = End) ->
   	Seconds = calendar:datetime_to_gregorian_seconds(End) - ?EPOCH,
  -	get_range(Log, Start, Seconds * 1000);
  +	get_range(Log, Start, Seconds * 1000 + 999);
   get_range(Log, Start, End) when is_integer(Start), is_integer(End) ->
   	get_range(Log, Start, End, start).
   
  
positive.code: auth_query(Start, {{_, _, _}, {_, _, _}} = End, Protocol, Types,
  		ReqAttrsMatch, RespAttrsMatch) ->
  	Seconds = calendar:datetime_to_gregorian_seconds(End) - ?EPOCH,
  	auth_query(Start, Seconds * 1000, Protocol, Types,
  			ReqAttrsMatch, RespAttrsMatch);
  auth_query(Start, End, Protocol, Types, ReqAttrsMatch, RespAttrsMatch)
  		when is_integer(Start), is_integer(End) ->
  
negative.code: 	ipdr_log(File, Seconds * 1000, End);
  ipdr_log(File, Start, {{_, _, _}, {_, _, _}} = End) ->
  	Seconds = calendar:datetime_to_gregorian_seconds(End) - ?EPOCH,
  	ipdr_log(File, Start, Seconds * 1000 + 999);
  ipdr_log(File, Start, End) when is_list(File),
  		is_integer(Start), is_integer(End) ->
  	case disk_log:open([{name, File}, {file, File}, {repair, truncate}]) of
  