Transform Numeric Values using st, nd, rd, th or Convert Numerals to Ordinal Form - Deluge
Please Use this sample Code
- This_Day_Date = zoho.currentdate.toString("dd");
- value1 = "th";
- if(This_Day_Date.right(1) ="1" && This_Day_Date != "11")
- {
- This_Day_Date = This_Day_Date+" "+"st";
- }
- else if ( This_Day_Date.right(1) = "2" && This_Day_Date != "12" )
- {
- This_Day_Date = This_Day_Date+" "+"nd";
- }
- else if (This_Day_Date.right(1) = "3" && This_Day_Date != "13")
- {
- This_Day_Date = This_Day_Date+" "+"nd";
- }
- else
- {
- This_Day_Date = This_Day_Date+" "+value1;
- }
- info This_Day_Date;
Thanks & Regards
Piyush Goyal
Zoho Developer || 3+ years Experience
+91-8619164837
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.