DateTimeToDosDateAndTime Method (dateTime, dosDate, dosTime)

DTF API

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++ F#
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
)
static member DateTimeToDosDateAndTime : 
        dateTime : DateTime * 
        dosDate : int16 byref * 
        dosTime : int16 byref -> unit 
Parameters
dateTime (DateTime)
dosDate (Int16%)
dosTime (Int16%)

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)