Qore Programming Language Reference Manual  0.8.7
 All Classes Namespaces Functions Variables Groups Pages
ql_time.dox.h
1 
3 namespace Qore {
257 
259 
273 int clock_getmicros();
274 
276 
290 int clock_getmillis();
291 
293 
307 int clock_getnanos();
308 
310 
319 date date(date dt);
320 
322 
342 date date(string dtstr);
343 
345 
357 date date(float f);
358 
360 
372 date date(softint i);
373 
375 
382 date date();
383 
385 
392 date date(null null);
393 
395 
412 date date(string dtstr, string mask);
413 
415 
427 hash date_info(date dt);
428 
430 
440 hash date_info();
441 
443 
457 date date_ms(softint ms);
458 
460 
464 nothing date_ms();
465 
467 
481 date date_us(softint us);
482 
484 
505 date days(softint days);
506 
508 
512 nothing days();
513 
515 
531 string format_date(string format, date dt);
532 
534 
538 nothing format_date();
539 
541 
560 date getDateFromISOWeek(softint year, softint week, softint day = 1);
561 
563 
575 int getDayNumber(date dt);
576 
578 
582 nothing getDayNumber();
583 
585 
599 int getDayOfWeek(date dt);
600 
602 
606 nothing getDayOfWeek();
607 
609 
623 int getISODayOfWeek(date dt);
624 
626 
630 nothing getISODayOfWeek();
631 
633 
650 
652 
656 nothing getISOWeekHash();
657 
659 
673 string getISOWeekString(date dt);
674 
676 
680 nothing getISOWeekString();
681 
683 
697 int get_days(date dt);
698 
700 
704 nothing get_days();
705 
707 
728 
730 
753 
755 
777 int get_duration_seconds(date dt);
778 
780 
796 int get_epoch_seconds(date dt);
797 
799 
803 nothing get_epoch_seconds();
804 
806 
820 int get_hours(date dt);
821 
823 
827 nothing get_hours();
828 
830 
846 int get_microseconds(date dt);
847 
849 
864 
866 
870 nothing get_midnight();
871 
873 
889 int get_milliseconds(date dt);
890 
892 
896 nothing get_milliseconds();
897 
899 
913 int get_minutes(date dt);
914 
916 
920 nothing get_minutes();
921 
923 
937 int get_months(date dt);
938 
940 
944 nothing get_months();
945 
947 
963 int get_seconds(date dt);
964 
966 
970 nothing get_seconds();
971 
973 
987 int get_years(date dt);
988 
990 
994 nothing get_years();
995 
997 
1011 date gmtime();
1012 
1014 
1029 date gmtime(softint secs, softint us = 0);
1030 
1032 
1046 date gmtime(date dt);
1047 
1049 
1070 date hours(softint hours);
1071 
1073 
1077 nothing hours();
1078 
1080 
1094 bool is_date_absolute(date dt);
1095 
1097 
1101 bool is_date_absolute();
1102 
1104 
1118 bool is_date_relative(date dt);
1119 
1121 
1125 bool is_date_relative();
1126 
1128 
1142 date localtime();
1143 
1145 
1160 date localtime(softint secs, softint us = 0);
1161 
1163 
1177 date localtime(date dt);
1178 
1180 
1201 date microseconds(softint us);
1202 
1204 
1225 date milliseconds(softint ms);
1226 
1228 
1232 nothing milliseconds();
1233 
1235 
1256 date minutes(softint minutes);
1257 
1259 
1263 nothing minutes();
1264 
1266 
1282 int mktime(date dt);
1283 
1285 
1289 nothing mktime();
1290 
1292 
1313 date months(softint months);
1314 
1316 
1320 nothing months();
1321 
1323 
1340 date now();
1341 
1343 
1360 date now_ms();
1361 
1363 
1380 date now_us();
1381 
1383 
1395 date now_utc();
1396 
1398 
1419 date seconds(softint seconds);
1420 
1422 
1426 nothing seconds();
1427 
1429 
1443 int timegm(date dt);
1444 
1446 
1450 nothing timegm();
1451 
1453 
1474 date years(softint years);
1475 
1477 
1481 nothing years();
1482 
1484 };