I’m a new user and not very familiar with coding.
Currently, I’m trying to get the day of the week for a specific date. For example, I want to display something like “Monday News - Hot news for 26/5/2025”.
I’ve already managed to extract the date part (e.g., “26/5/2025”). However, I’m struggling to figure out how to get the corresponding day of the week (like “Monday”) or convert it into a numerical representation (e.g., Monday → 2).
Could anyone help me with this?
Hi @Nhat_Minh_Nguyen
We could format the date like this:
and the output would be:

Thanks for your answer! I have a follow-up question: is it possible to get the day of the week as a numerical value (e.g., Monday as 2)?
Alternatively, can the language of the day name be changed? I’m asking because I’m working with a language other than English.
Hi @Nhat_Minh_Nguyen
We can get the day of the week using:
For the language of the day, I don’t think so it’s possible to output other than English unless it’s done manually.
1 Like
You can either use a module that does translation (or AI), or simply do an inline replace function to replace the English days of week into another language.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew