Jump to content
Sign in to follow this  
IElite

FormatDateTime ?

Recommended Posts

I am trying to use the FormatDateTime function to display the hours, minutes, seconds accumulated in my timer variable "fCount" (which has a 1000 delay)

e.g., if fCount = 200;

FormatDateTime('hh:nn:ss', fcount / SecondsPerDay);

200 = 3.33 minutes

I get

Quote

19:03:21

where does the 19 come from

Share this post


Link to post
Share on other sites

@IElite You have clearly not upgraded to the portable installation with the development-channel 🙂

Because this is yet again one of the TDateTime-bugs that I fixed last week.

To answer your question, that 19 came from your time zone, which is apparently 5 hours west from GMT.

Share this post


Link to post
Share on other sites
5 minutes ago, jarto said:

@IElite You have clearly not upgraded to the portable installation with the development-channel 🙂

Because this is yet again one of the TDateTime-bugs that I fixed last week.

To answer your question, that 19 came from your time zone, which is apparently 5 hours west from GMT.

1

hmmm, yes, I have done the upgrades...including the one from today!

The other issue was fixed! Not sure why this one isn't

Share this post


Link to post
Share on other sites
1 minute ago, IElite said:

hmmm, yes, I have done the upgrades...including the one from today!

The other issue was fixed! Not sure why this one isn't

Hmm, this is really weird. I have to check if the problem is with the build server or with SmartUpdate.

Share this post


Link to post
Share on other sites
1 hour ago, IElite said:

I deleted my entire RTL folder, did another update

and I recompiled and my project is still producing the same affect

Shane

 

@gabr42 fixed the problem in the build server. Do another update and it works.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×