Method

GLibDatesubtract_days

Declaration

void
g_date_subtract_days (
  GDate* date,
  guint n_days
)

Description

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 guint
 

Number of days to move.