EDataServer.strftime
Description: Reference for EDataServer.strftime

### Function

# EDataServerstrftime

#### Declaration [src]

    gsize
    e_strftime (
      gchar* string,
      gsize max,
      const gchar* fmt,
      const tm* tm
    )

#### Description [src]

This function is a wrapper around the strftime (3) function, which converts the %l and %k (12h and 24h) format variables if necessary.

#### Parameters

`string`

  Type: `gchar*`

  The string array to store the result in.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`max`

  Type: `gsize`

  The size of array `s`.

`fmt`

  Type: `const gchar*`

  The formatting to use on `tm`.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`tm`

  Type: `const tm*`

  The time value to format.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

#### Return value

Type: `gsize`

The number of characters placed in `s`.