Added method to get the double value of a DateTime

Added method to get the double value of a DateTime on the variable