How to write date with letters in qweb report odoo?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
3781
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
|
5562 | ||
|
|
1
Apr 25
|
4646 | ||
|
|
0
May 22
|
3946 | ||
|
|
0
May 22
|
4386 | ||
|
|
1
Apr 25
|
1896 |