How to write date with letters in qweb report odoo?
This question has been flagged
1
Reply
4891
Views
Hi rmc zeyneb,
| Directive | Description | Example |
|---|---|---|
| %a | Weekday, short version | Wed |
| %A | Weekday, full version | Wednesday |
| %w | Weekday as a number 0-6, 0 is Sunday | 3 |
| %d | Day of month 01-31 | 31 |
| %b | Month name, short version | Dec |
| %B | Month name, full version | December |
| %m | Month as a number 01-12 | 12 |
| %y | Year, short version, without century | 18 |
| %Y | Year, full version | 2018 |
o.to_date.strftime('%A , %d %B %Y')"/>
31/05/2022 ==> Tuesday , 31 May 2022
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
1
Aug 22
|
6981 | ||
|
|
1
Dec 25
|
6411 | ||
|
|
0
May 22
|
5021 | ||
|
|
0
May 22
|
5524 | ||
|
|
1
Apr 25
|
4096 |