24#ifndef _NETSURF_UTILS_TIME_H_
25#define _NETSURF_UTILS_TIME_H_
39int nsc_sntimet(
char *str,
size_t size, time_t *timep);
nserror
Enumeration of error codes.
Interface to time operations.
int nsc_sntimet(char *str, size_t size, time_t *timep)
Write the time in seconds since epoch to a buffer.
nserror nsc_strntimet(const char *str, size_t size, time_t *timep)
Converts a date string to a number of seconds since epoch.
nserror nsc_snptimet(const char *str, size_t size, time_t *timep)
Parse time in seconds since epoc.
const char * rfc1123_date(time_t t)
Create an RFC 1123 compliant date string from a Unix timestamp.