.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH DosDateTimeToVariantTime 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBDosDateTimeToVariantTime\fR (OLEAUT32.14) .SH SYNOPSIS INT DosDateTimeToVariantTime ( USHORT \fIwDosDate\fR, USHORT \fIwDosTime\fR, double* \fIpDateOut\fR ) .SH DESCRIPTION .PP Convert a Dos format date and time into variant \fBVT_DATE\fR format. .SH PARAMS \fIwDosDate\fR \fB[In]\fR Dos format date. .PP \fIwDosTime\fR \fB[In]\fR Dos format time. .PP \fIpDateOut\fR \fB[Out]\fR Destination for \fBVT_DATE\fR format. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR. \fIpDateOut\fR contains the converted time. .PP \fBFailure:\fR \fBFALSE\fR, if \fIwDosDate\fR or \fIwDosTime\fR are invalid (see notes). .SH NOTES .PP \fB-\fR Dos format dates can only hold dates from \fB1\fR-Jan-\fB1980\fR to \fB31\fR-Dec-\fB2099.\fR .PP \fB-\fR Dos format times are accurate to only \fB2\fR second precision. .PP \fB-\fR The format of a Dos Date is: .br Bits Values Meaning .br ---- ------ ------- .br 0-4 1-31 Day of the week. 0 rolls back one day. A value greater than .br the days in the month rolls forward the extra days. .br 5-8 1-12 Month of the year. 0 rolls back to December of the previous .br year. 13-15 are invalid. .br 9-15 0-119 Year based from 1980 (Max 2099). 120-127 are invalid. .PP \fB-\fR The format of a Dos Time is: .br Bits Values Meaning .br ---- ------ ------- .br 0-4 0-29 Seconds/2. 30 and 31 are invalid. .br 5-10 0-59 Minutes. 60-63 are invalid. .br 11-15 0-23 Hours (24 hour clock). 24-32 are invalid. .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/variant.c"\fR. .PP Debug channel \fB"variant"\fR.