Format Date Display
Last Post 01-14-2011 11:44 AM by Candace. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
kevrocUser is Offline
new to the springs
new to the springs
Posts:1
Avatar

--
01-09-2011 09:09 AM
    Is there a way to format the output of a date field?  I currently have the datetime field coming over with the 01/09/2011 12:00 AM format and I don't want the time, just the date portion.

    Thanks!

    Kevin

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    01-14-2011 11:44 AM
    Hi Kevin,

    Are you pulling the Dynamic Views data from a Dynamic Forms instance?

    If you're using a textbox on your Dynamic Forms for a data stamp, you can use something like this as the default:

    SELECT CONVERT( CHAR(12), GetDate(), 101) As DefaultValue

    See this example: http://Beta-Springs.com/Dynamic-For...fault.aspx

    You can find other formats and tips here: http://www.sql-server-helper.com/ti...rmats.aspx

    Hope that helps!  Thanks!
    Candace


    ---
  • 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