Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Time Format Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: August 10 2003 at 16:54 | IP Logged Quote TonyNo

Okay, how do I format a time value so it is not in 24-hour style? It seems PH does not support "hh:mm tt" to get "2:25 PM".
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: August 10 2003 at 18:33 | IP Logged Quote TonyNo

Never mind!  I found it here...

http://www.delphibasics.co.uk/RTL.asp?Name=FormatDateTime

One way is to use, "h:mm am/pm".

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: August 10 2003 at 22:31 | IP Logged Quote dhoward

Damn Tony, you're too fast for me .   I'll make a note to update the manual to list the available format masks.

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: August 12 2003 at 23:22 | IP Logged Quote TonyNo

When I changed the short date time format in the Regional Settings applet in the Control Panel under Windows XP, the Create Timed Events function stopped working!  I had events being scheduled for 2003-12-08 instead of 2003-08-12. Maybe you should decouple that somehow? I fixed it by putting it back to the default.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: August 13 2003 at 11:36 | IP Logged Quote dhoward

Tony,

I did a quick look at the system and could'nt see anything at first.  It's possible that its within either PowerHome or the ASA database.

In order to test and reproduce, what did you change your time settings to make it break?  When it broke, did you get any kind of error message, or did timed events just stop working?  Were you still able to edit the timed events?

Let me know,

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: August 13 2003 at 21:21 | IP Logged Quote TonyNo

Uhm, never mind!  I think it was just that PH needed to be restarted. I just changed the date format, and it still works fine.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: August 16 2003 at 11:32 | IP Logged Quote dhoward

Thats OK Tony.  Im glad it something as simple as that .

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum