first and last date from server