Is there any way to view a long date/time column in the format YYYYMMDD-HH24MISS?
-
lundi 14 mai 2012 15:53
In SPD, I have a workflow that sets the default "Title" column as a timestamp ([Title] = [Created]). I have custom forms for the list, and using the display form, I edited the formula for the title column to display the timestamp in this format: 5/7/2012 2:23:20 PM, using the formula
</xsl-value-of><//xsl-value-of>ddwrt:FormatDate(string(@Timestamp),1033,13)
I haven't found any way to display the timestamp in the form of: </xsl-value-of><//xsl-value-of>YYYYMMDD-HH24MISS, so that it is just one long string of numbers. Any ideas??
Toutes les réponses
-
mardi 15 mai 2012 13:30
Hi
Custom Formating:
ddwrt:FormatDateTime(string(@DueDate),[LCID],'yyyy/MM/dd') ==> 2010/06/28The complete docAlso check this doc too:
http://panvega.wordpress.com/2008/12/08/ddwrtformatdate-with-different-formatflags/
Romeo Donca, Orange Romania (MCSE, MCTS, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.
- Marqué comme réponse Entan MingMicrosoft Contingent Staff, Moderator jeudi 24 mai 2012 07:42
-
vendredi 25 mai 2012 16:45
Unless I'm overlooking something, I still don't see any way to set the date as:
20120525124322
(May 25th, 2012, 12:43:22 PM)

