Set attribute based on when the user logges in?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
lueu
Posts: 89
Joined: Tue Mar 07, 2023 11:49 pm

Re: Set attribute based on when the user logges in?

Post by lueu »

BLOMASKY wrote: Sun Nov 05, 2023 3:37 pm Aware is very rich with FUNCTIONS. They are at the end of the user guide and there are quite a few handling date and time.

If you want the year try SESSIONVARS.currentYear = YEAR(CURRENT_DATE)


Bruce
Thanks, I will try that. Think this might be a combination I haven't tried :D
lueu
Posts: 89
Joined: Tue Mar 07, 2023 11:49 pm

Re: Set attribute based on when the user logges in?

Post by lueu »

BLOMASKY wrote: Sun Nov 05, 2023 3:37 pm
If you want the year try SESSIONVARS.currentYear = YEAR(CURRENT_DATE)


Bruce
Thanks Bruce, this actually seems to work when put in LoginNotification.

A big thank you to everyone who takes the time to answer my (probably sometimes stupid) questions! :D
Post Reply