DateTimeToDosDateAndTime Method (dateTime, dosDate, dosTime)

Microsoft Deployment Tools

Deployment Tools Foundation DateTimeToDosDateAndTime Method (dateTime, dosDate, dosTime)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionCompressionEngineDateTimeToDosDateAndTime(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
)
Parameters
dateTime (DateTime)
dosDate ( Int16 %)
dosTime ( Int16 %)

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression) Version: 3.0.0.0 (3.5.1623.0)