justinmind-logo
 
Upvote 1

How to display todays date as SUNDAY 26 APRIL??

Answered Robert Brown 3 years ago

I wish to display todays date as DDDD DD MMMM.

How can I do it please?

Replies (2)
photo
1

This is a little tricky because the Date widget doesn't contain Day names. You could try populating a Data Master with the days and date of the month, and then creating an "On Page Load" + "Set Value" event for the text field that will display the Day name. For the value, create an expression that filters the Data Master according to the date, and then selects the Day name associated with that date. Unfortunately this is difficult to test out since you'd only be able to try it once each day (unless you change your system date).

Hope this is helpful - let me know if you'd like clarification on anything.

photo
1

I appreciate JIM is a prototyping tool and not a programming platform but simple functions such a date formatting would be really useful.


I have data table to retrieve the month name of the year and I select based on the month number.


Formatting dates is inherent in OS’s, JavaScript and every programming language so supporting it with JIM should be available.


Many thanks for your help.


Rob Brown

photo
1

I'll let our team know that would be useful to add - thank you for your feedback.

photo
photo
1

Hello,


This feature has been added in the newest version of Justinmind.

Leave a Comment
 
Attach a file