Copied to clipboard

Flag this post as spam?

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


  • Tony Kiernan 278 posts 341 karma points
    Dec 10, 2013 @ 19:22
    Tony Kiernan
    0

    v7 Not picking up Date Picker with Time values

    OK, this is odd (mainly becasue my code was working the other day). Umbraco seems to only be returning the default value for a datepicker with time for me. I'm using this to produce a string in a class

    DateTime date = item.GetPropertyValue("start");
    string datestring = date.ToString();

    The values are definitely in my config. Anyone got any ideas? I've deleted the config and restarted my application pool etc.

    Edit: If I just try and output the string it shows the wrong value also

Please Sign in or register to post replies

Write your reply to:

Draft