comparison foosdk/sdk/foobar2000/helpers/filetimetools.h @ 1:20d02a178406 default tip

*: check in everything else yay
author Paper <paper@tflc.us>
date Mon, 05 Jan 2026 02:15:46 -0500
parents
children
comparison
equal deleted inserted replaced
0:e9bb126753e7 1:20d02a178406
1 #pragma once
2
3 namespace foobar2000_io {
4 t_filetimestamp filetimestamp_from_string(const char * date);
5 t_filetimestamp filetimestamp_from_string_utc(const char* date);
6
7 //! Warning: this formats according to system timezone settings, created strings should be used for display only, never for storage.
8 pfc::string_formatter format_filetimestamp(t_filetimestamp p_timestamp);
9 //! UTC timestamp
10 pfc::string_formatter format_filetimestamp_utc(t_filetimestamp p_timestamp);
11 //! Local timestamp with milliseconds
12 pfc::string_formatter format_filetimestamp_ms(t_filetimestamp p_timestamp);
13 }