Hello
I have a need to calculate the date of the previous Friday. Since the mod function is not available for Skuid formula fields, I am currently doing this with a Salesforce formula field:
(TODAY()) - MOD(TODAY() - DATE(1900,1,12),7)
This will return the date of the previous Friday, so if calculated on 5/10/2018 it will return 5/4/2018. Since Salesforce formula fields are not calculated until the record is saved, when displayed on a new record page in skuid this field will be blank until the row on the model is saved. I am trying for a way to display this on a new record page while the new record is still being edited and before it is saved.
The mod function basically takes a number, divides it by another number, and returns the remainder. Is there any way to replicate this in a Skuid UI-only formula?
Thanks!
Question
Replicate Salesforce Mod Function
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.