Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

How do you format datetime token
Last Post 10-16-2012 09:14 AM by Ryan Bakerink. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
CollinUser is Offline
going with the flow
going with the flow
Posts:57
Avatar

--
10-12-2012 05:56 PM
    How would you format a token that returns a datetime to mm/dd/yyyy?
    Right now, it returns the full date and time.

    Thanks.
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    10-15-2012 05:51 AM
    Hello Collin,

    You'll want to use Custom SQL as the data source in order to accomplish this.

    You can return a column that stores a date value, let's name the column "DateSubmitted" just for this example:

    Select
    Convert(char(10), DateSubmitted, 101) As TheDate

    Or if you just want the current date:

    Select
    Convert(char(10), GetDate(), 101) As TheDate

    If you're using Dynamic Forms instance as the data source you'll need to go to your Dynamic Form and add a new Question with a SQL Default value of:

    Select
    Convert(char(10), GetDate(), 101) As DefaultValue


    Then regenerate columns for your Dynamic View to show the new Dynamic Forms column.

    Let me know if you have any questions.

    Thanks,

    Ryan
    CollinUser is Offline
    going with the flow
    going with the flow
    Posts:57
    Avatar

    --
    10-16-2012 08:25 AM
    Thanks, kind of thought that was the way to go. Appreciate it.
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    10-16-2012 09:14 AM
    Glad to be of assistance.

    Hope you have a great day!

    -Ryan
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi