Average Joe Posted September 25, 2019 Report Posted September 25, 2019 Kā dabūt šādu datuma formātu: "2019. gada 25. septembrī" ? Quote
Vecteevs Posted September 25, 2019 Report Posted September 25, 2019 https://carbon.nesbot.com/docs/ Šeit noteikti atradīsi Quote
Average Joe Posted September 25, 2019 Author Report Posted September 25, 2019 Jā, to jau skatījos. Bet tuvākais, ko izdevās dabūt bija "2019. 25. septembris". Quote
KillerBean Posted September 25, 2019 Report Posted September 25, 2019 $months = array(1=>'janvārī', ..., 12=>'decembrī'); $fullDate = date('Y') . '. gada ' . date('j') . '. ' . $months[date('n')]; https://www.w3schools.com/php/php_arrays.asp Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.