The CreatorCon Call for Content is officially open! Get started here.

Difference between gs.daysAgoStart(int) and gs.daysAgo(int) function

amaradiswamy
Kilo Sage

Hi,

Can anyone please explain me the difference between "daysAgoStart(int)" and "daysAgo(int) " functions in GlideSystem Date and Time Functions. It will be very clear if anyone can explain with examples.

Thanks & Regards,

Swamy

1 ACCEPTED SOLUTION

bernyalvarado
Mega Sage

Hi Amaradi,



daysAgo will go the X numbers of days ago at the current time Vs daysAgoStart will be at the start for that day.



Thanks,


Berny


View solution in original post

1 REPLY 1

bernyalvarado
Mega Sage

Hi Amaradi,



daysAgo will go the X numbers of days ago at the current time Vs daysAgoStart will be at the start for that day.



Thanks,


Berny