18 December, 2013

StringFormat in XAML

Right, these XAML constructs are really heavy candidates for esoteric knowledge! Who on earth can remember all these “€djs{kdis.,00dx}”-like syntax, honestly ?

So, anyway – to cut to the bone; to format a datetime property in XAML to a specific display you go like this:


This will format: 12/31/2013 3 pm –> 31.12.2013 15:00

A fairly good overview is gained here:                

No comments:

iPhone/XCode - not all cases are equal!

This bit me! Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the s...