DataTime type default the time part

Hi, I have a filed with DateTime type, but only show the date part to let user to pick, and i need to default the time to the end of day time (23:59:59), is there a simple way to do that? Looks like it is defaul to the current time (the time part)   Thanks Shannon
1 answers

You can set the hours / minutes with the functions addMintes() and addHours(), see:


So you could use something like this:

addMinutes(addHours(trimToDays($datetime/attribute), x),  x)


Also, check out this post where similiar answers were offered: