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 )
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)