# | Line 31 | Line 31 | ext::String Stamp::getW3() const | |
---|---|---|
31 | return when; | |
32 | } | |
33 | ||
34 | + | ext::String Stamp::get8601() const |
35 | + | { |
36 | + | char when[11]; |
37 | + | |
38 | + | std::strftime(when, 11, "%Y-%m-%d", &stamp); |
39 | + | |
40 | + | return when; |
41 | + | } |
42 | + | |
43 | ext::String Stamp::getDate() const | |
44 | { | |
45 | char date[11]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |