Append dates as strings or longs