How to get real date and time from dataset?

Hi,I try to read date and time from PLC, and I get a dataset,below:


how can I show real date and time on ignition?

  1. What make and model of PLC?
  2. Can you provide a link to the user manual and a page reference for the date format?
  3. Can you show your PLC tag configuration?


This tag type is Date_And_Time.
I use siemens 1518F

2: No link?
4: Can you show the Ignition tag configuration?


I get this fault ,if I change type to datetime

There's a 32-post long thread started in 2012 on the topic.

  • There are some script conversions to extract the date.
  • There is an Expression Language conversion in post #27 for "the old Siemens Date_AndTime" datatype to a string (usually a bad idea but could be modified to give a timestamp).
  • There seems to be a simple solution in post #31, March 2024.

It work, Thank you very much!

Good. Don't forget to mark "Solution" on my post #8.