TimeValue

Public Function TimeValue(ByVal DateTime As Date) As Date

Returns the time part of a date/time value (thus removes the date component).

Dim lLastLoginDateTime As Date = pContext.DataSet("LastLoginDateTime").Value
SendDebug $"You logged in the last time on {DateValue(lLastLoginDateTime)} at {TimeValue(lLastLoginDateTime)}"

See also: