Technical Article

Get Currenttime without time

,

This script will get you the current date minus the time. It will display all zeros instead.

Select convert(datetime,convert(varchar(12),getdate()))

Rate

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

You rated this post out of 5. Change rating

Share

Share

Rate

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

You rated this post out of 5. Change rating