System date and time

May 22 2012 11:57 AM
I want to save system date and time on the button click of login user and that date and time should be directly saved on respective  database stating details about logged in user. I am trying to do this in vb.net with wpf.i have created the database for that in sql server.I need to save the logged in and logged out time directly to that database in respective user records..