Hello,
the expiration date is defined like that RhinoSdkPlugin.h :
tm m_date_to_expire;
but i dont understand how can i specify that for example my expiration date is 15 February 2017
Thanks
Time function are always a puzzle - I’m sure there are bunch of ways to do this…
// Feburary 15, 2017 8:00:00 AM
CTime time(2017, 2, 15, 8, 0, 0);
tm timeinfo;
memset(&timeinfo, 0, sizeof(timeinfo));
time.GetLocalTm(&timeinfo);
wchar_t buffer[32];
errno_t err = _wasctime_s(buffer, 32, &timeinfo);
if (0 == err)
RhinoApp().Print(L"Date and time: %s\n", buffer);
– Dale
1 Like