int is long, select column can be function, some fixes..
just to get it work.. needs improvement
This commit is contained in:
17
ml_date.h
Normal file
17
ml_date.h
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "clib/date.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
long now();
|
||||
|
||||
std::string date_to_string(const long datetime, const std::string format);
|
||||
|
||||
long string_to_date(const std::string &datestr, const std::string &format);
|
||||
|
||||
long add_to_date(const long datetime, const long quantity, const std::string &part);
|
||||
|
||||
Reference in New Issue
Block a user