Hello, I'm very new to Nintex and I'm running into a problem when trying to query a date. I'm using the following syntax to get uptime for the server:
select login_time
from sys.dm_exec_sessions
where session_id = 1
I know there are other queries I could use but this one works well. My next step is to put the result from the query into a variable for storage. Next I want to then write the result to a SharePoint page & column. The problem is I'm seeing the following result posted: 1/1/0001 12:00:00 but if I run the above query directly on the server I get what you would expect, the time showing when the server was started.
What am I doing wrong?