Solved

datetimeoffset datatype

Posted on 2010-09-08
1
346 Views
Last Modified: 2012-05-10
hi experts, i am reading about datetimeoffset datatype
http://msdn.microsoft.com/es-es/library/bb630289.aspx
http://msdn.microsoft.com/en-us/library/ms186724.aspx
but not enough
I need an example like that hand on lab
0
Comment
Question by:enrique_aeo
1 Comment
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 200 total points
ID: 33632514
enrique_aeo,

Which part is unclear?

If it is the concept of the data type itself, the datetimeoffset type is a means of storing a date and time value with awareness of its timezone.  Instead of simply being stored in the timezone of the server, the datetimeoffset field allows you to specify the exact timezone for which the date and time represents.

e.g., 2010-09-08 19:46:00 -04:00

That represents my current time.

The value specified by the size determines the precision of the datatype.  7 for example specifies that you can have up to 7 decimal places (fractional seconds).

Hope that helps.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSRS 2012 r2 - Parm Drop Down has Date/Time 12 44
Linked Server Issue with SQL2012 3 33
Re-appearing SQL Server Agent jobs 7 42
How can I get the entire database script? 7 24
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question