I want to use toTimestamp function inside cpp.So I am accessing it like SPL::Functions::time::toTimestamp(Sys.YYYYMMDDhhmmss,date).Problem is that its unable to recognize 'Sys'. What library should I include?
Asked
Active
Viewed 175 times
1 Answers
0
Because the toTimestamp
family of functions were designed to be called by SPL code, they're not easy to use directly in C++. (The reason being that they rely on generated tuple and enum types.) From C++, it's easier to use the timeStringToTimestamp
family of functions.

Scott S
- 86
- 3