views:

379

answers:

3

I have column called "Date Submitted" as Date/time in one of the Custom list in sharepoint 2007. it always set to today's date and 12AM time instead of that I want to display today's date with current time hh:mm:ss.

I tried creating calculated column TestDate and formula is : =TEXT(([Date Submitted]),"mm dd yyyy h:MM:SS")

result is 04 28 2010 0:00:00 I wanted to be 04/28/2010 10:50:34

Is it possible to achive this?

Thank you kanta

A: 

A few ideas to get you started :-

Ryan
I you for the link. I will go throug it.This is not a Calendar list . Could you explain " could you make your list from a modified Calendar list rather than the Custom list"Thank youKanta
Kanta
When you are creating your list you're starting with the empty "Custom List" template. If instead you start with a Calendar List then the start time will default to the next full hour - e.g. if its 10:50 when you enter the record it will default to 11:00
Ryan
+1  A: 

In the definition of Date Submitted, is the Date and Time Format currently Date Only? If so, try changing it to Date & Time.

Rich Bennema
In my tests this only set the time to the next full hour. E.g. if put in at 10:50 it would default to 11:00
Ryan
Thank you Rich and Ryan,Date Submitted is Date and Time but still get the same result.Thank youKanta
Kanta
A: 

For something like this, I ended up creating a custom action which is called from a workflow.

Daniel Dolz
Thank you for the suggestion Daniel. But How to go about it.Thank youKanta
Kanta