---
name: "scan_httpdate"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/scan_httpdate"
---

# scan\_httpdate(3)

parse a HTTP date

## NAME

scan\_httpdate - parse a HTTP date

## SYNTAX

**#include \<libowfat/scan.h\>**

size\_t **scan\_httpdate**(const char \**src*,time\_t \**dest*);

## DESCRIPTION

scan\_httpdate parses a date as defined in the HTTP standard into a time\_t.  It returns the number of bytes read from *src* (0 for parse error).

The only supported time zone is GMT.

## SEE ALSO

[fmt\_httpdate(3)](/fmt_httpdate/3.md)
