I have a Google sheet with Locale set to English Australia and the Data table in Appsheet is set to the same. All native fields are displaying correctly.
I then created a Week Commencing virtual variable: ([Work Date]-WEEKDAY([Work Date]-1))
And a Week Ending virtual variable: ([Week Commencing]+6)
And a Week Number virtual variable: "Week: " & WEEKNUM([Work Date]-1) & " - " & [Week Commencing] & " to " & [Week Ending]
However the Week Number variable displays the Week Commencing and Week Ending dates in US MM/DD/YYYY format.
Is there an easy fix or do I need to use the Day() Month() and Year() functions to split my date and then concatenate in DD/MM/YYYY format
Solved! Go to Solution.
Before doing that, try to add TEXT expression before the date field likeโฆ
โWeek: " &WEEKNUM([Work Date]-1)&โ - โ&TEXT([Week Commencing])&โ to "&TEXT([Week Ending])
Before doing that, try to add TEXT expression before the date field likeโฆ
โWeek: " &WEEKNUM([Work Date]-1)&โ - โ&TEXT([Week Commencing])&โ to "&TEXT([Week Ending])
Brilliant, worked perfectly. Thanks!!!
The TEXT expression will change your date as per your locale settings.
User | Count |
---|---|
41 | |
35 | |
27 | |
23 | |
16 |