SC Macro [date and disable buttons]

Hi,

Is there a SC Macro that will get the current/system date? I’m planning to get the system date then store it in a variable, then save in the mysql db with yyyy-mm-dd format.

And also a macro that will hide/disable ALL buttons in ALL forms/grids such as insert, update, delete in just 1 sc macro code? And in what event it should be placed?

Best Regards. Thanks
ishey

Re: SC Macro [date and disable buttons]

You should use PHP or Database functions