for use by the datetime module; also refactor long_round to use this function.
Attach a file by drag & drop or click to upload