Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Install the SysTime library. Open the Library Manager and click on the "Add Library" tab. In the popup dialog select the SysTime library and add it (Advanced->System->SysLibs-SysTime). Check out the high resolution function blocks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Everyone,
Is there a function that could give me DT with MS ex : DT#2016-06-02-06:00:00:200.
Thanks
Install the SysTime library. Open the Library Manager and click on the "Add Library" tab. In the popup dialog select the SysTime library and add it (Advanced->System->SysLibs-SysTime). Check out the high resolution function blocks.
Thanks..
That really helped .
You're welcome. Glad I could help.
Hello,
this is really good.
I'm using to get current System time
SysTimeRtcHighResGet(pTimeStamp);
SysTimeRtcConvertHighResToDate(pTimeStamp,pTDate);
There is a quick way to convert it to string?
I need to to the conversion to write it into a MySQL server.
Thank you!