Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListDate / Time DisplayDate / Time Display
Previous
 
Next
New Post
11/14/2011 11:38 AM
 
Hello..
I have a Date and Time column named "Date".  This is so the end-user can enter an event date and it's start time.

I have a calculated column named "Event Date" and it's data type is configured for "Date and Time", it's output format is configured for "dddd, MMMM dd, yyyy" and it's expression is "[Date]".

I then have another calculated column named "Event Start Time" and it's data type is configured for "Date and Time", it's output format is configured for "hh:mm tttt" and it's expression is "[Date]".

When viewed in the default grid-view, the Event Date and Event Start Times are displayed as I wish.

If I change over to my XSL sheet, the output formats are gone for the calculated columns; they're not being displayed as I prefer.  E.g. Instead of something such-as "Tuesday, November 29, 2011 - 7:00 PM", it's displaying "11/29/2011 7:00:00 PM -  11/29/2011 7:00:00 PM".

Why is this occurring?  How do I configure the XSL to display the information as I prefer?

Thanks..  -Jeff
 
New Post
11/23/2011 3:18 PM
 

Has anyone been able to duplicate this issue I'm having?

I need to get this working properly and I'm at a loss as to why it's occurring.

Is it possible to get the output format for the date configured within the XSL to display as I prefer?  If so, how would I accomplish this?

Thanks.. -Jeff


 
New Post
11/23/2011 3:52 PM
 

Jeff, the described behavior is by design, sorry.

 
New Post
11/29/2011 11:20 AM
 

Hello..  Thanks for the reply..

Our issue is that we have a calendar list of items.  I have the items sorted by date, but I also need them sorted by date and then time.  So items occurring at 3pm are listed above the items which occur at 7pm.  Right now, they seem to be sorted by date and then by when they were entered into the system.

I have a date column and a time column.  The date column is configured for an outputsetting (dnn 6.1.1) "dddd, MMMM dd, yyyy".  The time column is configured for an outputsetting (dnn 6.1.1) "h:mm tt".

I have a calculated column (named "Combined DT") which is configured for InputSettings (dnn 6.1.1) as "Date and Time" and its expression is configured for "[Date_UDT_Value] + [Start Time]".

When I view the listing in the Default Grid Table, I get the following error:

Cannot convert value ''<!--063450518400-->Friday, September 02, 20111/1/0001 11:00:00 AM'' to Type: System.DateTime.

But what's odd is that these items are for the November calendar.  Why it's showing this, I don't know.

Any help or suggestions?  Thanks.. -Jeff



 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListDate / Time DisplayDate / Time Display


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out