get_creation_date_time


Description:

[ Version ( since = "2.70" ) ]
public DateTime? get_creation_date_time ()

Gets the creation time of the current this and returns it as a DateTime.

This requires the g_file_attribute_time_created attribute. If g_file_attribute_time_created_usec is provided, the resulting DateTime will have microsecond precision.

If nanosecond precision is needed, g_file_attribute_time_created_nsec must be queried separately using get_attribute_uint32.

Parameters:

this

a FileInfo.

Returns:

creation time, or null if unknown




2022 vala-language.org