• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 807
  • Last Modified:

create a default value with the current time hh:mm:ss

It's bad enough that it will be stored as text but I can't believe that a time column isnt even a default option... but I digress

I would like to have a list that displays the current time (would be great if there was a NOW() function)

So when a new list item is created the current time down to the second is displayed.

My users should have the option of updating that but that's what I would like to display as the default.

How do I accomplish this?

0
sullisnyc44
Asked:
sullisnyc44
  • 3
  • 3
1 Solution
 
MelMcCommented:
0
 
sullisnyc44Author Commented:
I need my users to be able to edit this field. So I think even if I wanted to (or knew how) to deploy the GAC exmaple I couldnt.

there isn't a way to even build the string and concatenate the current time?

like =text([today],"HH:MM:SS") or =concatenate(texthour(today)... etc ?

there should just be a hack like .... somehow using the TIME function or something...
0
 
MelMcCommented:
nothing I am aware of other than the jquery otpion.
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
sullisnyc44Author Commented:
OK took the shortcut and just made it a single line text field.

Now if I wanted to sort correctly by that column? Maybe in a hidden column? How would I could I accomplish that?
0
 
MelMcCommented:
Sort correctly how? you have date then time or just time?
As long as you have a 0 in front of your numbers it should work properly.
0
 
AlMothanaAlOmariCommented:
go to list setting --> add new column --> select datetime ---> from the option select today
kindly see the attached

datetime.jpg
0
 
sullisnyc44Author Commented:
thanks but it gives me nothing valuable about the current time
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now