Question Locked
0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hello everyone,I need to convert a Number e.g 25.50 to 25:30. How can i do this in a query.Thank you in advance.
3 replies
by monshines Accepted solution
Clarifications
by tony hopkinson Accepted solution
Best bet is number of seconds.
Select DateAdd(second,[MyNumber] * 60, 0)
That will give you number of seconds since the base date in access.
Then format it as mm:ss for output. Generally I store durations as number of seconds or milliseconds, otherwise you have to do a lot of arsing about to use it.
by tony hopkinson Accepted solution
Post your actual query mate we'll have a furkle.
Maybe we need to do a bit of converting, waht datatype is your equivalent of MyNumber?
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
Discussion Locked
What Makes a Business Website Effective in 2026
2 helpful
10 replies
1 helpful
3 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
Question Unanswered
Best Way to Make Long WordPress Location Guides Mobile Friendly
0 helpful
0 replies
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies