Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const WCHAR* models = L"ECMWF,GFS"; //comma separated list
- RunTime runTimes[2]; //size of array must match list
- getModelRuntimes(models, runTimes);
- // DEBUG our result
- char buff[20];
- struct tm timeinfo;
- gmtime_s(&timeinfo, &runTimes[0].runtime);
- strftime(buff, 20, "%Y-%m-%d %H:%M:%S", &timeinfo);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement