CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Thu Dec 13, 2018 6:56 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Apr 21, 2018 6:42 pm 
Offline

Joined: Thu Feb 08, 2018 5:01 pm
Posts: 17
Hi,

I am trying to keep a log of the time a users login on a visulisation by using an array and a combo box array.
I can't get the current date and time. it's always 1970.
I've seen people suggest SysRtcGetTime but I don't have it and I can't figure out where to download it.

So where can I download it or is there another way in ST to get the current time?


thanks


Top
   
PostPosted: Sun Apr 22, 2018 12:33 am 
Offline

Joined: Thu Feb 08, 2018 5:01 pm
Posts: 17
Never mind.
I used a RTC.GetDateAndTime block to solve my issue.
I figured out how to add libraries.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited