Document.miscFormatDatetime

Determine the preferred date and time representation for the current locale for @dt.

class Document
static
string
miscFormatDatetime
(
DateTime dt
)

Parameters

dt DateTime

a #GDateTime

Return Value

Type: string

a new allocated string or NULL in the case that there was an error (such as a format specifier not being supported in the current locale). The string should be freed with g_free().

Meta

Since

3.38