# \[HELP\] Display day of the week in only 2 letters

**URL:** <https://forum.kustom.rocks/t/help-display-day-of-the-week-in-only-2-letters/11649>\
**Category:** General\
**Tags:** kwgt, functions, help\
**Created:** [July 26, 2025, 10:14pm UTC](https://forum.kustom.rocks/t/help-display-day-of-the-week-in-only-2-letters/11649 "2025-07-26T22:14:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex1](https://forum.kustom.rocks/user_avatar/forum.kustom.rocks/alex1/32/3562_2.png) [@Alex1](https://forum.kustom.rocks/u/Alex1)\
**Post date:** [July 26, 2025, 10:14pm UTC](https://forum.kustom.rocks/t/help-display-day-of-the-week-in-only-2-letters/11649/1 "2025-07-26T22:14:25Z")

</div>

Hi everyone,  
I’m trying to display the day of the week in just 2 letters (for example: Mo, Tu, We, Th, Fr, Sa, Su) in a KWGT widget.

I know the formula $df(EEE)$ returns the 3-letter abbreviation (Mon, Tue, Wed, Thu, Fri, Sat, Sun), but I haven’t found a way to shorten it to 2 letters only.

I’ve tried using conditions and substring methods, but none of them worked as expected.  
Any ideas or working formulas?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Baju\_Santiko](https://forum.kustom.rocks/user_avatar/forum.kustom.rocks/baju_santiko/32/6471_2.png) [@Baju\_Santiko](https://forum.kustom.rocks/u/Baju_Santiko)\
**Post date:** [July 27, 2025, 3:20am UTC](https://forum.kustom.rocks/t/help-display-day-of-the-week-in-only-2-letters/11649/2 "2025-07-27T03:20:10Z")

</div>

Hi there,

Try this code snippet:

`$tc(cut, df(EEE), 2)$`

NOTES

- `$df(EEE)$` ➞ get the day of week (shortened)
- `$tc(cut, [text], 2)$` ➞ get the first 2 characters from the `[text]`

 ![Days of Week in 2 letters](https://forumcdn.kustom.rocks/original/2X/5/5af718da07aa2d4e5804df8af702f82ede5d92c2.png)

I hope this would help.  
☺👍

---

<div class="post-metadata">

**Author:** ![Alex1](https://forum.kustom.rocks/user_avatar/forum.kustom.rocks/alex1/32/3562_2.png) [@Alex1](https://forum.kustom.rocks/u/Alex1)\
**Post date:** [July 27, 2025, 7:35am UTC](https://forum.kustom.rocks/t/help-display-day-of-the-week-in-only-2-letters/11649/3 "2025-07-27T07:35:51Z")

</div>

Thanks You so much @Baju_Santiko 😃

---

<div class="post-metadata">

**Author:** ![Alex1](https://forum.kustom.rocks/user_avatar/forum.kustom.rocks/alex1/32/3562_2.png) [@Alex1](https://forum.kustom.rocks/u/Alex1)\
**Post date:** [July 27, 2025, 7:45am UTC](https://forum.kustom.rocks/t/help-display-day-of-the-week-in-only-2-letters/11649/4 "2025-07-27T07:45:02Z")

</div>

![Screenshot_2025-07-27-04-43-34-198_com.miui.home](https://forumcdn.kustom.rocks/original/2X/2/28d9d1e3c08e5a9f9d9b51f3c27dd4d3badcd74f.png)  
What do you think of my work? The top right icon (+) opens the form for adding a new Google Calendar event. Events change dynamically, etc.
