[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

DateTimeFormat!

Posted on 2005-05-03
4
Medium Priority
?
262 Views
Last Modified: 2010-04-17
Hello,

Does anybody know how to display milliseconds on a 24-hour datetime format without altering the computers regional settings?

Thanks,
Wilky.
0
Comment
Question by:LFMSupport
  • 2
  • 2
4 Comments
 
LVL 13

Expert Comment

by:softplus
ID: 13916400
Hi Wilky
Where? In the dos-box? in a log file? in a specific program / programming language? :)
0
 
LVL 1

Author Comment

by:LFMSupport
ID: 13916401
VB6, thought I was in that section sorry!
0
 
LVL 13

Accepted Solution

by:
softplus earned 800 total points
ID: 13916443
Try something like this:
Format(Now, "dd/MM/yyyy hh:mm:ss") & "." & Format((Timer - Int(Timer)) * 1000, "0")
John
0
 
LVL 1

Author Comment

by:LFMSupport
ID: 13916606
Timer already uses milliseconds so thats worked a treat.

Thanks alot John!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Simple Linear Regression

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question