Lekcja 5, planer
This commit is contained in:
1 parent
ff62de50d2
commit
b83f3cba5f
7 files changed
+285
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
$user = 'root';
|
||||
$pass = 'ServBay.dev';
|
||||
|
||||
date_default_timezone_set('Europe/Warsaw');
|
||||
setlocale(LC_TIME, 'pl_PL.UTF-8');
|
||||
$CALENDAR = CAL_GREGORIAN;
|
||||
|
||||
$weekday_letters = array();
|
||||
for($i = 5; $i < 12; $i++) {
|
||||
$weekday_letters[] = mb_strtoupper(mb_substr(strftime('%a', mktime(0, 0, 0, 1, $i, 2026)), 0, 1));
|
||||
}
|
||||
|
||||
$month_names = array();
|
||||
for($i = 1; $i <= 12; $i++) {
|
||||
$month_names[] = strftime('%b', mktime(0, 0, 0, $i, 1, 2026));
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user