Choose the cell where the current date or time should be entered. To insert the current date, use the shortcut Ctrl + ; (Control + semicolon). To insert the current time, use Ctrl + Shift + ; (Control + Shift + semicolon). Use the combo (Ctrl + ;) as a shortcut.
The quickest way to do this is to press Shift+Ctrl+; (that's a semicolon) in Excel's built-in shortcut for entering the current time. You'll see the current time as you want it if the cell is configured to show times in 24-hour format.
Type the date (for example, 2/2), then select Short Date or Long Date from the Home > Number Format option (in the Number tab).
To insert the time, go to Home > Number Format menu (in the Number tab) >Time and type the time.
To format the date and time data types from a date column (date, DateTime, datetime2, smalldatetime, datetimeoffset, etc. ), use the FORMAT function.
Use SELECT FORMAT (getdate(), 'dd/MM/yyyy ') as the date to get DD/MM/YYYYY.
Share With Friend
Have a friend to whom you would want to share this course?
Download LearnVern App
Download the app
Learn anywhere on the go
Get regular updates about your enrolled or new courses
Share content with your friends
Evaluate your progress through practice tests
No internet connection needed
Enroll for the webinar and join at the time of the webinar from anywhere
Enjoying this course!
All the Courses on Learnvern are Free! So Register/Sign in to
have Access all the Courses and Videos.