I defined variable as following: Dim MaxPostTime As DateTime I want to transform the retrieved variable into 24-hour based "HH:mm:ss" How can I make it?