Deployment Tools Foundation
DateTimeToDosDateAndTime Method (dateTime, dosDate, dosTime)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► CompressionEngine ► DateTimeToDosDateAndTime(DateTime, Int16%, Int16%)
Compresion utility function for converting a DateTime structure
to old-style date and time values.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static void DateTimeToDosDateAndTime( DateTime dateTime, out short dosDate, out short dosTime )
Public Shared Sub DateTimeToDosDateAndTime ( _ dateTime As DateTime, _ <OutAttribute> ByRef dosDate As Short, _ <OutAttribute> ByRef dosTime As Short _ )
public: static void DateTimeToDosDateAndTime( DateTime dateTime, [OutAttribute] short% dosDate, [OutAttribute] short% dosTime )