return ret;
}
+struct tm
+*solipa_get_now_tm (void)
+{
+ time_t tt;
+
+ tt = time (NULL);
+
+ return localtime (&tt);
+}
+
+GDate
+*solipa_get_today_gdate (void)
+{
+ struct tm *tt_tm = solipa_get_now_tm ();
+
+ return g_date_new_dmy ((GDateDay)tt_tm->tm_mday,
+ (GDateMonth)tt_tm->tm_mon + 1,
+ (GDateYear)tt_tm->tm_year + 1900);
+}
+
/**
* This function is copied from
* http://bugzilla.gnome.org/show_bug.cgi?id=524831.
gchar *solipa_format_money (gdouble number, gint decimals, gboolean with_currency_symbol);
+struct tm *solipa_get_now_tm (void);
+GDate *solipa_get_today_gdate (void);
+
gchar *g_mkdtemp (gchar *tmpl);