Method

GLibDatesubtract_days

Declaration [src]

void
g_date_subtract_days (
  GDate* date,
  guint n_days
)

Description [src]

Moves a date some number of days into the past. To move by weeks, just move by weeks*7 days. The date must be valid.

Parameters

n_days

Type: guint

Number of days to move.