29-08-23 03:21 PM
Hi, Everyone
Seeking for your help I was trying to get yesterday's date together with timestamp but seems the below format I have use is not working 😞 because I got 120000
Ann
29-08-23 04:35 PM
Hi Ann, what are you getting if you take out the local time and UTC Time, and instead going FormatDateTime(AddDays(Today(), -1), "yyyyMMddhhmmss")
29-08-23 04:42 PM
Hi, Michelsen.
Got the same result if I was going to remove the UTC
29-08-23 05:46 PM
Hi Ann,
Use FormatDateTime Expression instead of FormatDate. And use Now() Expression instead of Today(). It worked for me.
For more expressions, you can expand Functions of Date.
Regards,
Vinod
------------------------------
vinod ch
------------------------------
30-08-23 03:40 AM
Hi, Vinod.
Thanks for the reply yes that's working but I need the yesterday's date instead 😞
30-08-23 07:26 AM
Hi,
Use "(AddDays(Now(), -1)" as part of your logic. That will give you expected results.
30-08-23 07:54 AM
Hi,
Try with this
Replace(DateAdd(9,-1,Today()),"/","")&Right(Replace(Replace(LocalTime(),":",""),"/",""),6)&Right(Now()&"",2)
Regards
12-06-24 12:47 PM
Thank you @Mohamad_747 😊