[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

datetimeoffset datatype

Posted on 2010-09-08
1
Medium Priority
?
353 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 800 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

649 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