DateTimeToDosDateAndTime Method (dateTime, dosDate, dosTime)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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.dll) Version: 3.0.0.0 (3.9.1006.0)