---
name: "VarDateFromBool"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/VarDateFromBool"
---

# VarDateFromBool(3w)

## NAME

**VarDateFromBool** (OLEAUT32.96)

## SYNOPSIS

HRESULT VarDateFromBool\
  (\
   VARIANT\_BOOL *boolIn*,\
   DATE\*        *pdateOut*\
  )

## DESCRIPTION

Convert a **VT\_BOOL** to a **VT\_DATE**.

## PARAMS

*boolIn* **\[In\]**  Source.

*pdateOut* **\[Out\]**  Destination.

## RETURNS

**S\_OK**.

## IMPLEMENTATION

Declared in **"oleauto.h"**.

Implemented in **"dlls/oleaut32/vartype.c"**.

Debug channel **"variant"**.
