You could use the following article as a template. It doesn't do exactly what you want, but shows how to manipulate a string being imported into the format you want.
https://community.landesk.com/support/docs/DOC-32132
So the idea is to use a calculation into another field using the data from LDMS and then a calculation in LDSD