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 4047 posts 12900 karma points MVP 2x
    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 )
Please Sign in or register to post replies

Write your reply to:

Draft