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

# CompareFileTime(3w)

## NAME

**CompareFileTime** (KERNEL32.@)

## SYNOPSIS

INT CompareFileTime\
  (\
   const FILETIME\* *x*,\
   const FILETIME\* *y*\
  )

## DESCRIPTION

Compare two **FILETIME**'s to each other.

## PARAMS

*x* **\[In\]**  First time.

*y* **\[In\]**  time to compare to *x*.

## RETURNS

**-1**, **0**, or **1** indicating that *x* is less than, equal to, or greater than *y* respectively.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/time.c"**.

Debug channel **"time"**.
