LogoSander Schutten's Blog
  • Home
  • Recent Posts
Logo Inverted Logo
  • Tags
  • .NET
  • .net magazine
  • 3.5
  • add-in
  • Ajax
  • API
  • ASP.NET
  • Avanade
  • Azure
  • Bing
  • BizTalk
  • BizUnit
  • Book
  • brand
  • C#
  • car
  • code
  • concurrency
  • connectors
  • DateTime
  • DHTML
  • dotnetmag
  • Dublin
  • Edge
  • Editor
  • Excel
  • Ext JS
  • Extensions
  • Features
  • Flow
  • Gadget
  • geolocate
  • Guide
  • Guide Editor
  • Home Server
  • iaas
  • Ice hockey
  • improvements
  • Javascript
  • lightswitch
  • LoadGen
  • location
  • logic apps
  • Mango
  • Mapper
  • MCE
  • Media Center
  • Microsoft
  • OData
  • Optimization
  • Oslo
  • PDC
  • Performance
  • Pipeline
  • Poster
  • Profiles
  • R2
  • R3
  • Schema
  • Screencast
  • serverless
  • Services
  • Sharepoint
  • SideShow
  • signalr
  • Silverlight
  • source
  • spfx
  • Spread
  • SyncFX
  • Tricks
  • Unit Test
  • vhd
  • Viddler
  • Video
  • virtual machine
  • vista
  • visual studio
  • WCF
  • WCF RIA Services
  • WF
  • Windows 7
  • Windows Phone 7
  • Workflow
  • wp7
  • XML
Hero Image
Map xs:string to xs:datetime

Remember that situation where you needed to convert a string representation of a DateTime to a valid DataTime using the BizTalk mapper? No? Well, I do. The parsing of the string as a DateTime is not the real problem here. Once you know how the string is formatted it is simply writing a way to parse it, either using substrings or using the DateTime.Parse method. Once you have a DateTime though, you need to format it to be valid according to the XSD spec.

Tuesday, July 1, 2008 Read
Navigation
  • Recent Posts
Contact me:
  • sander@dotnetstudio.nl
  • +31 6 3830 4494

Stay up to date with email notification


By entering your email address, you agree to receive the newsletter of this website.

Toha Theme Logo Toha
Copyright © 2021
Powered by Hugo Logo