To Get Current date from User control for Enterprise portal page in Visual studio for axapta you can set below code and show in message box.
You can include above code in your click event or as per your required event. This code you need to write in visual studio . You need to add particular user control in visual studio project then open code file to write the code.
string cDate1 = DateTime.Now.ToString("dd/MM/yyyy");
Proxy.Info objinfolog = new Proxy.Info(this.AxSession.AxaptaAdapter);
objinfolog.add(cDate1);
You can include above code in your click event or as per your required event. This code you need to write in visual studio . You need to add particular user control in visual studio project then open code file to write the code.