---
name: "scan_httpdate"
section: "3diet"
platform: "linux"
package: "libowfat-dev"
version: "0.28-2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/scan_httpdate/3diet"
---

# scan\_httpdate(3diet)

parse a HTTP date

## NAME

scan\_httpdate - parse a HTTP date

## SYNTAX

**#include \<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)
