Expand my Community achievements bar.

Zahid_14
Zahid_14
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • @SatheeskannaK At last I have found the solution:{% let d2 = currentTimeInMillis() + 14*86400000 %}{% let ourDate = toDateTimeOnly(d2) %}{%= formatDate(ourDate, "dd/MM/yyyy") %}

    Type

    Questions

    Views

    1.1K

    Like

    1

    Replies

    6
  • I have found a solution for calculated dates:{% let d2 = currentTimeInMillis() + 14*86400000 %}{% let ourDate = toDateTimeOnly(d2) %}{%= formatDate(ourDate, "dd/MM/yyyy") %}

    Type

    Questions

    Views

    1.6K

    Likes

    2

    Replies

    3
  • @Anuhya-Y Thanks for checking. I have already submitted a ticket. It seems this function is not available (Calculated date). There is another way but it also gives wrong date like if you add 10 days today, it will show 32-August-2023. 

    Type

    Questions

    Views

    1.6K

    Likes

    2

    Replies

    0
  • @SatheeskannaK Thank you so much. I have tried this with 10 days just to see. You are right. In that case it shows 32 :'( Still searching for the solution

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    7
  • @Anuhya-Y , Thank you so much for your suggestion. I have also tried with now with delta function. It says unknown function error. Do you know any detailed documentation? May be i am using it in a wrong way? 

    Type

    Questions

    Views

    1.6K

    Likes

    0

    Replies

    2
  • @SatheeskannaK It  is also working for me:{% let d=now %}{%= formatDate(d, "mm/dd/YYYY") %}But I need to add +7 days. That is not working. addDates or addDays function does not work. I have tried set days{% let d = today %}{%= formatDate(setDays(d,7), "D/MM/YYYY") %}But it gives wrong output like 21...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    9
  • I am also trying to do the same thing. But it does not work. Please help me if anyone knows the solution. I tried to use it:{% let d = today %}{%= formatDate(setDays(d,7), "D/MM/YYYY") %}but shows like this if today is 21st August, it will show 217-08-2023

    Type

    Questions

    Views

    1.6K

    Likes

    0

    Replies

    4
Top badges earned by Zahid_14
Customize the badges you want to showcase on your profile