Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anton 135 posts 186 karma points
    Feb 22, 2012 @ 11:28
    Anton
    0

    How I can change date format by API? How I can change date format by API?

    How I can change date format by API? Date create by Date Picker with time, I want change their format, I try

     

     newRow=FormatDateTime(node.GetProperty("closing").Value, 'd');

    but 'FormatDateTime' ' does not exist in the current context

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Feb 22, 2012 @ 11:58
    Richard Soeteman
    1

    Hi Anton,

    Don't know where you got the FormatDateTime from? but try

     string.Format("{0:d}",node.GetProperty("closing").Value )
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies