Date Time Comparison

dash

Lifetime Supporting Member
Join Date
Jun 2003
Location
Birmingham, AL
Posts
589
I have searched the forum unsucessfully for some logic for date/time comparison.

I have some RFID tags coming from another area that I read and it contains the month, day, year and time in military format. Is there any examples of how to calculate hours, minutes or seconds expired between two dates?

By the way, this is a ControlLogix, so it does not have any day of week functions or any other date functions that I am aware of. Other than extracting the wallcolock time in a couple of different formats.

Thanks,

Darren
 
Last edited:
In military format the hour is represented by 0-23 so that you do not have to worry about the AM/PM.

Midnight is 0000

1:00 AM is 0100

12:00 Noon is 1200

10:00 PM is 2200
 

Similar Topics

Hi everybody! I'm trying to make an external lightening system time-controlable with AB SLC 5/05. I'm with some dificulty in compare specific...
Replies
9
Views
7,478
Hello, I'm hoping someone can help me with understanding how to set/change these data types. We recently swapped from Invertek to AB drives...
Replies
1
Views
91
From the Red Lion website, after some customer enquiries in the last week or so... Rev. March 25, 2024 [18:30] Just thought it might help a...
Replies
9
Views
290
How do you install update on Red Lion Crimson ver 3.1. Do I just need to run the exe file on the host server?
Replies
1
Views
126
Has anyone found a way to convert/replace/update the firmware on old Parker TS80xx series HMIs (i.e. TS8010, TS8006, etc) to accept Crimson...
Replies
0
Views
105
Back
Top Bottom