hi
I have table in database that have Time column with datatype time(7)
now I want put recent time in this column
for date I use GetDate() but for time what should I use?
Best Regards
Neda
Use VARCHAR(5) instead of VARCHAR(7)
CONVERT(VARCHAR(5),GETDATE(),108)
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.