Home
last modified time | relevance | path

Searched refs:nowdate (Results 1 – 24 of 24) sorted by relevance

/dports/net/vnstat/vnstat-2.8/src/
H A Ddbsql.c760 char *db_get_date_generator(const int range, const short direct, const char *nowdate) in db_get_date_generator() argument
767 … || (round(strftime('%%M', %s)/5,0)*5) || ' minutes')%s)", nowdate, nowdate, nowdate, nowdate, cfg… in db_get_date_generator()
774 snprintf(dgen, 512, "date(%s%s)", nowdate, cfg.dbtzmodifier); in db_get_date_generator()
778 snprintf(dgen, 512, "strftime('%%Y-%%m-01', %s%s)", nowdate, cfg.dbtzmodifier); in db_get_date_generator()
785 snprintf(dgen, 512, "strftime('%%Y-01-01', %s%s)", nowdate, cfg.dbtzmodifier); in db_get_date_generator()
804 char sql[1024], nowdate[64]; in db_addtraffic_dated() local
816 snprintf(nowdate, 64, "datetime(%" PRIu64 ", 'unixepoch')", timestamp); in db_addtraffic_dated()
818 snprintf(nowdate, 64, "'now'"); in db_addtraffic_dated()
894 char sql[1024], nowdate[64]; in db_insertdata() local
917 snprintf(nowdate, 64, "datetime(%" PRIu64 ", 'unixepoch', 'localtime')", timestamp); in db_insertdata()
[all …]
H A Ddbsql.h56 char *db_get_date_generator(const int range, const short direct, const char *nowdate);
/dports/www/epiphany/epiphany-41.0/lib/
H A Dephy-time-helpers.c210 time_t nowdate; in ephy_time_helpers_utf_friendly_time() local
223 nowdate = time (NULL); in ephy_time_helpers_utf_friendly_time()
229 localtime_r (&nowdate, &now); in ephy_time_helpers_utf_friendly_time()
245 yesdate = nowdate - 60 * 60 * 24; in ephy_time_helpers_utf_friendly_time()
268 yesdate = nowdate - 60 * 60 * 24 * i; in ephy_time_helpers_utf_friendly_time()
/dports/net-mgmt/phpipam/phpipam-a14bc06/functions/scripts/
H A Dremove_offline_addresses.php32 $nowdate = date ("Y-m-d H:i:s"); variable
94 $subject = "phpipam deleted offline addresses at ".$nowdate;
97 …yle='font-size:16px;size:16px;'>phpipam removed inactive addresses at ".$nowdate."</font></font></…
109 …$content_plain[] = "phpipam deleted offline addresses at ".$nowdate."\r\n-------------------------…
H A DpingCheck.php70 $nowdate = date ("Y-m-d H:i:s"); variable
146 $Scan->update_subnet_scantime ($s->id, $nowdate);
216 $addresses2[$s['id']][$ak]['lastSeenNew'] = $nowdate;
220 $Scan->ping_update_lastseen ($addresses2[$s['id']][$ak]['id'], $nowdate);
261 $addresses[$index]['lastSeenNew'] = $nowdate;
293 $Scan->ping_update_lastseen ($a['id'], $nowdate);
379 $Scan->ping_update_scanagent_checktime (1, $nowdate);
425 $subject = "phpIPAM IP state change ".$nowdate;
H A DdiscoveryCheck.php54 $nowdate = date ("Y-m-d H:i:s"); variable
87 $Scan->update_subnet_discoverytime ($s->id, $nowdate);
253 "note" =>"This host was autodiscovered on ".$nowdate,
254 "lastSeen" =>$nowdate,
268 $Scan->ping_update_scanagent_checktime (1, $nowdate);
/dports/sysutils/gnome-system-monitor/gnome-system-monitor-41.0/src/legacy/
H A De_date.c148 time_t nowdate = time(NULL);
159 localtime_r (&nowdate, &now);
167 yesdate = nowdate - 60 * 60 * 24;
179 yesdate = nowdate - 60 * 60 * 24 * i;
/dports/japanese/today/ja-today-2.12_2/
H A Dhistory.c275 struct DATE_T nowdate; in history_makemsg() local
283 nowdate.year = calendar.year; in history_makemsg()
284 nowdate.month = calendar.month; in history_makemsg()
285 nowdate.day = calendar.day; in history_makemsg()
289 age = period_year(hdata.bdate, nowdate); /* ǯ�� */ in history_makemsg()
306 ayear = period_year(hdata.ddate, nowdate); /* �׸�ǯ */ in history_makemsg()
H A Dcalendar.c74 static struct CALENDAR nowdate; variable
283 rdcalendar(&nowdate); in main()
284 year = nowdate.year; in main()
285 month = nowdate.month; in main()
461 if (caltbl[i].year == nowdate.year && in calendar()
462 caltbl[i].month == nowdate.month) { in calendar()
463 weekindex = caltbl[i].first_dayofweek + nowdate.day - 1; in calendar()
H A Dbirthday.c381 struct DATE_T nowdate; in birthday_check_noticerange() local
418 nowdate = date; in birthday_check_noticerange()
419 nowdate.year = cmpyear; in birthday_check_noticerange()
420 *age = period_year(date, nowdate); in birthday_check_noticerange()
H A Dcalfw.c80 static struct CALENDAR nowdate; variable
591 if (yy == nowdate.year && mm == nowdate.month && dd == nowdate.day) { in makeCalTbl()
727 rdcalendar(&nowdate); in Configuration()
728 year = nowdate.year; in Configuration()
729 month = nowdate.month; in Configuration()
741 year = nowdate.year; in Configuration()
748 month = nowdate.month; in Configuration()
1847 rdcalendar(&nowdate); in updateCalendar()
1851 curdate.year = nowdate.year; in updateCalendar()
1852 curdate.month = nowdate.month; in updateCalendar()
H A Dedit.c664 BOOL externalFileEdit(HWND hWnd, HINSTANCE hInstance, struct DATE_T nowdate) in externalFileEdit() argument
690 cmdbuf = makeCommandLine(hWnd, file_editor_cmd, &bCancel, nowdate); in externalFileEdit()
H A Dextern.h228 extern BOOL externalFileEdit(HWND hWnd, HINSTANCE hInstance, struct DATE_T nowdate);
/dports/lang/mosml/mosml-ver-2.10.1/src/mosmllib/test/
H A Ddate.sml11 fun nowdate () = Date.fromTimeLocal(now()); function
70 print (fmt "%j" (nowdate()) ^ " (internally: ");
71 print (Int.toString (yearDay (nowdate())) ^ ")\n");
73 print (fmt "%A" (nowdate()) ^ "\n");
75 print (fmt "%B" (nowdate()) ^ "\n");
77 print (fmt "%Y-%m-%d" (nowdate ()) ^ "\n"))
/dports/finance/homebank/homebank-5.5.1/src/
H A Dgtk-dateentry.c321 if( year == g_date_get_year (&priv->nowdate) && month == (g_date_get_month (&priv->nowdate)-1) ) in gtk_date_entry_cb_calendar_today_mark()
322 gtk_calendar_mark_day(GTK_CALENDAR(priv->calendar), g_date_get_day (&priv->nowdate)); in gtk_date_entry_cb_calendar_today_mark()
583 g_date_set_time_t(&priv->nowdate, time(NULL)); in gtk_date_entry_init()
H A Dgtk-dateentry.h77 GDate nowdate, mindate, maxdate; member
/dports/comms/xlog/xlog-2.0.22/src/
H A Dcallbacks_mainwindow_qsoframe.c76 gchar *nowdate; in on_datebutton_clicked() local
78 nowdate = xloggetdate (); in on_datebutton_clicked()
80 gtk_entry_set_text (GTK_ENTRY (entry), nowdate); in on_datebutton_clicked()
81 g_free (nowdate); in on_datebutton_clicked()
H A Dutils.c579 gchar *nowdate, *nowtime; in updateclock() local
581 nowdate = xloggetdate (); in updateclock()
584 g_string_printf (timestr, "<b>%s", nowdate); in updateclock()
590 g_free (nowdate); in updateclock()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/calendar/base/modules/utils/
H A DcalItemUtils.jsm664 let nowdate = new Date();
675 if (cal.dtz.dateTimeToJsDate(aTask.dueDate).getTime() < nowdate.getTime()) {
678 aTask.dueDate.year == nowdate.getFullYear() &&
679 aTask.dueDate.month == nowdate.getMonth() &&
680 aTask.dueDate.day == nowdate.getDate()
689 cal.dtz.dateTimeToJsDate(aTask.entryDate).getTime() < nowdate.getTime()
/dports/print/panda/panda-0.5.4/panda/
H A Dlegacy.h24 #define nowdate panda_nowdate macro
/dports/sysutils/webmin/webmin-1.981/status/
H A Dmonitor.pl47 ($nowdate, $nowtime) = split(/\s+/, $now);
517 'DATE' => $nowdate,
/dports/security/amavis-stats/amavis-stats-0.1.12/
H A Damavis-stats.php468 $nowdate = strftime("%c", time());
694 $nowdate = strftime("%c", time());
/dports/mail/evolution/evolution-3.42.1/src/mail/
H A Dmessage-list.c2174 time_t nowdate = time (NULL); in filter_date() local
2185 localtime_r (&nowdate, &now); in filter_date()
2193 yesdate = nowdate - 60 * 60 * 24; in filter_date()
2205 yesdate = nowdate - 60 * 60 * 24 * i; in filter_date()
/dports/www/mybb/mybb-mybb_1829/inc/
H A Dfunctions.php7965 $nowdate = date("H-j-n-Y", $stamp);
7966 $n = explode('-', $nowdate);