try {
return file_age;
throw;
}
}
The exception that is thrown when one of the arguments provided to a method is out of range.
Definition argument_out_of_range_exception.h:22
static date_time from_file_time(int64 file_time)
Converts the specified Windows file time to an equivalent local time.
xtd::time_span subtract(const date_time &value) const
Returns a new xtd::time_span that subtracts the specified date and time from the value of this instan...
static date_time now() noexcept
Gets a xtd::date_time object that is set to the current date and time on this computer,...
Represents an instant in time, typically expressed as a date and time of day.
Definition date_time.h:85
int64_t int64
Represents a 64-bit signed integer.
Definition int64.h:23
std::chrono::duration< int64, tick > ticks
Represents a tick duration.
Definition ticks.h:21