← Back

ofxDateTimeString

github.com/tettou771/ofxDateTimeString · @tettou771
OF 0.10 Utilities

Static methods for easily creating date and time strings from the current time.

0 0 Last commit 7y ago Created 7y ago

README

ofxDateTimeString



Overview



This is an addon for openFrameworks. I made it to make date and time string easily. For example, date to string "2019-03-31".

Requirement



ofxDateTimeString doesn't depend other addons.

Tested system



I think compatible almost all versions, because it's simple addon.

Usage



1. Add this addon. 2. Include ofxDateTimeString.h. 3. Write some static method.

For example
ofxDateTimeString::getDate(); // date "2019-03-31"
ofxDateTimeString::getDate("/"); // date "2019/03/31"
ofxDateTimeString::getDateTime(); // date and time "2019-03-31_23-59-59"
ofxDateTimeString::getDateTimeMillis(); // date and time with milli seconds "2019-03-31_23-59-59_999"


Get this addon

HTTPS
SSH