Click here to Skip to main content
Click here to Skip to main content
Articles » Database » Database » General » Revisions
Add your own
alternative version

Tagged as

Find all SQL Server DateTime Formats

, 25 Mar 2010
When using DateTime with SQL Server, I often forget what the parameters are that allow formatting DateTime in specific ways. When that happens, I fire up this code fragment in SQL Server Management Studio and it neatly lists out every possible parameter with example output.declare @Loop...



Compare Revision Minor Date Status Editor
publicly available No 26-Mar-10 4:28 Available mark merrens
2 No 24-Mar-10 4:24 Composing mark merrens
1 No 23-Mar-10 4:47 Composing mark merrens


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

mark merrens

United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 26 Mar 2010
Article Copyright 2010 by mark merrens
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid