#include <xtd/console>
#include <xtd/date_time>
#include <xtd/environment>
#include <xtd/string>
auto main() -> int {
console::out << now << environment::new_line;
console::out << date_time::sprintf("%Y", now) << environment::new_line;
console::out << date_time::sprintf("%EY", now) << environment::new_line;
console::out << date_time::sprintf("%y", now) << environment::new_line;
console::out << date_time::sprintf("%0y", now) << environment::new_line;
console::out << date_time::sprintf("%Ey", now) << environment::new_line;
console::out << date_time::sprintf("%C", now) << environment::new_line;
console::out << date_time::sprintf("%EC", now) << environment::new_line;
console::out << date_time::sprintf("%G", now) << environment::new_line;
console::out << date_time::sprintf("%g", now) << environment::new_line;
console::out << date_time::sprintf("%b", now) << environment::new_line;
console::out << date_time::sprintf("%h", now) << environment::new_line;
console::out << date_time::sprintf("%B", now) << environment::new_line;
console::out << date_time::sprintf("%m", now) << environment::new_line;
console::out << date_time::sprintf("%0m", now) << environment::new_line;
console::out << date_time::sprintf("%U", now) << environment::new_line;
console::out << date_time::sprintf("%0U", now) << environment::new_line;
console::out << date_time::sprintf("%W", now) << environment::new_line;
console::out << date_time::sprintf("%0W", now) << environment::new_line;
console::out << date_time::sprintf("%V", now) << environment::new_line;
console::out << date_time::sprintf("%0V", now) << environment::new_line;
console::out << date_time::sprintf("%j", now) << environment::new_line;
console::out << date_time::sprintf("%d", now) << environment::new_line;
console::out << date_time::sprintf("%0d", now) << environment::new_line;
console::out << date_time::sprintf("%e", now) << environment::new_line;
console::out << date_time::sprintf("%0e", now) << environment::new_line;
console::out << date_time::sprintf("%a", now) << environment::new_line;
console::out << date_time::sprintf("%A", now) << environment::new_line;
console::out << date_time::sprintf("%w", now) << environment::new_line;
console::out << date_time::sprintf("%0w", now) << environment::new_line;
console::out << date_time::sprintf("%u", now) << environment::new_line;
console::out << date_time::sprintf("%0u", now) << environment::new_line;
console::out << date_time::sprintf("%H", now) << environment::new_line;
console::out << date_time::sprintf("%0h", now) << environment::new_line;
console::out << date_time::sprintf("%I", now) << environment::new_line;
console::out << date_time::sprintf("%0I", now) << environment::new_line;
console::out << date_time::sprintf("%M", now) << environment::new_line;
console::out << date_time::sprintf("%0M", now) << environment::new_line;
console::out << date_time::sprintf("%S", now) << environment::new_line;
console::out << date_time::sprintf("%0S", now) << environment::new_line;
console::out << date_time::sprintf("%c", now) << environment::new_line;
console::out << date_time::sprintf("%Ec", now) << environment::new_line;
console::out << date_time::sprintf("%x", now) << environment::new_line;
console::out << date_time::sprintf("%Ex", now) << environment::new_line;
console::out << date_time::sprintf("%X", now) << environment::new_line;
console::out << date_time::sprintf("%EX", now) << environment::new_line;
console::out << date_time::sprintf("%D", now) << environment::new_line;
console::out << date_time::sprintf("%F", now) << environment::new_line;
console::out << date_time::sprintf("%r", now) << environment::new_line;
console::out << date_time::sprintf("%R", now) << environment::new_line;
console::out << date_time::sprintf("%T", now) << environment::new_line;
console::out << date_time::sprintf("%p", now) << environment::new_line;
console::out << date_time::sprintf("%z", now) << environment::new_line;
console::out << date_time::sprintf("%Z", now) << environment::new_line;
}
static date_time now() noexcept
Gets a xtd::date_time object that is set to the current date and time on this computer,...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10