0

i m using Session("date_time") for storing login date and time and during the time of logout i need to store the duration of the time only and for that i m using a login_duration as integer as login_duration = (Session("date_time").ToString - Now.ToString("hh:mm:ss"))... but its not working properly.. Help me plz to solve the problem

1 Answers1

0

For time : TimeValue(Now) For date and time : NOW

About the format, check here

Kasnady
  • 2,249
  • 3
  • 25
  • 34