Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. const WCHAR* models = L"ECMWF,GFS"; //comma separated list
  2. RunTime runTimes[2];  //size of array must match list
  3.  
  4. getModelRuntimes(models, runTimes);
  5.  
  6. // DEBUG our result
  7. char buff[20];
  8. struct tm timeinfo;
  9. gmtime_s(&timeinfo, &runTimes[0].runtime);
  10. strftime(buff, 20, "%Y-%m-%d %H:%M:%S", &timeinfo);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement