Get System Value(GSV) used to calculate the System Real Time.
You have to create User defined Data Type as shown in Image.
Next you have to Create a Tag which has data type of Time as show in Image.
New you have to extract the Year,Month,Day etc from the GSV.Just follow the Images.