How can we improve the OneNote APIs and developer platform? Vote for an existing idea or share a new one.

How to change the timestamp string format when I add a page by OneNote API ?

How to change the timestamp string format when I add a page by OneNote API ?
I have try to change the datetime string in meta, but It doesn't work ?
Who can help me ?

string date = page.CreateTime.ToString("yyyy-MM-dd HH:mm:ss");

<meta name=\"created\" content=\"" + date + "\" />

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    MagicBoy shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base