I´m glad to hear that and I´m happy that I could help you.
I think that you should mark is question as solved so it helps others too. And they can see was worked for you. The way you mark a quesiton as solved is like this:
When you got a right answer. Then find the person who have give you the solution or direction to solve your problem There you will see a green tick, hit this green tick and you have marked your question as solved.
Compare DateTime with Umbraco Date Picker
I want to compare todays date with the picked date for a show to determine if it has passed or not.
Here is my code:
@currentDate outputs = 2013-11-06 00:00:00
@postDateUnformatted outputs = 2015-11-04T00:00:00
These outputs are unfortunately not something I can compare, how should I solve this?
Hi Oliver and welcome to Our,
Maybe this post can help you in the right dirction I hope so
http://our.umbraco.org/forum/developers/api-questions/21506-problem-parsing-datepicker-value-to-DateTime-with-API
/Dennis
Thank you, it did help me!
This is what I ended up with:
Hi Oliver,
If you are using Mvc, then something like this?
If you are using a Razor Macro with DynamicNode, then something like this?
Jeavon
Hi Oliver.
I´m glad to hear that and I´m happy that I could help you.
I think that you should mark is question as solved so it helps others too. And they can see was worked for you. The way you mark a quesiton as solved is like this:
When you got a right answer. Then find the person who have give you the solution or direction to solve your problem There you will see a green tick, hit this green tick and you have marked your question as solved.
/Dennis
is working on a reply...