Hi all,
how to implement a code that check if a date (in ticks) is older than X days?
Within my KVS Cloud DB I have a field than contains the item creation date:
So I wish to delete all the items older than x days from the creation date (.Date).
Thanks in advance for your help
how to implement a code that check if a date (in ticks) is older than X days?
Within my KVS Cloud DB I have a field than contains the item creation date:
B4X:
dim TodayDateInTicks As Long
TodayDateInTicks = DateTime.DateParse (DateTime.Date(DateTime.Now))
'Within creation sub
'....
NewItem.Date = Starter.TodayDateInTicks
'....
So I wish to delete all the items older than x days from the creation date (.Date).
Thanks in advance for your help