Read Siemens S1500 Date_And_Time value

Its been a while, on a project a few years ago, I managed to find this UDT someone made, and got it working for reading and writing to that data type. Not sure if it will fit your use case.