# Date

## Object Hierarchy:

## Description:

[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "soup_date_get_type ()" ) ]

[ Compact ]

public class

[ Compact ]

public class

**Date**A date and time.

The date is assumed to be in the (proleptic) Gregorian calendar. The time is in UTC if `utc`

is `true`

. Otherwise, the
time is a local time, and `offset`

gives the offset from UTC in minutes (such that adding `offset`

to the time would give
the correct UTC time). If `utc`

is `false`

and `offset`

is 0, then the Date
represents a "floating" time with no associated timezone information.

**Namespace:**Soup

**Package:**libsoup-2.4