Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / GetCurrentTime() function (Tier2-PB)

Author
Message
polomint
12
Years of Service
User Offline
Joined: 3rd Apr 2012
Location: Lancashire, United Kingdom
Posted: 8th May 2012 11:41
Is there a way for this function to return an adjusted time? My PB shows 9.40am yet GetCurrentTime() returns 8.40am
I was just going to add the hour on, but that means that when GMT comes around the app will be faulty. Also I don\'t know if GetCurrentTime() adapts correctly for different country adjustments..

Blackberry App Development & ZX Spectrum Game Development.
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 8th May 2012 12:12
I wish I could help with your problem but I can't. What I will say is that making multiple threads for the same subject will eventually anger the Mods.

Tread lightly in their domain...

polomint
12
Years of Service
User Offline
Joined: 3rd Apr 2012
Location: Lancashire, United Kingdom
Posted: 8th May 2012 12:32
Yeah, good point, although the previous thread was asking what the rejection message could be on about. This thread is about finding a solution, but yeah, I'll keep the threads to a minimum,

Blackberry App Development & ZX Spectrum Game Development.
polomint
12
Years of Service
User Offline
Joined: 3rd Apr 2012
Location: Lancashire, United Kingdom
Posted: 8th May 2012 12:50
Ok, got round it by using the normal time commands



then just pick out what I need from the timeinfo structure (timeinfo->tm_hour) etc..

Blackberry App Development & ZX Spectrum Game Development.
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 8th May 2012 13:15
Nice, glad you found a solution

LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 14th May 2012 18:16
if someone can post this solution as a feature request, T1 users can enjoy the benefit when submitting to the store Here is the board: http://code.google.com/p/agk/issues/list

I drink tea, and in my spare time I write software.
AgentSam
12
Years of Service
User Offline
Joined: 14th Mar 2012
Location: Virtual Space
Posted: 14th May 2012 19:37
Lee,

Nice to see that you're back dealing with reported issues, since none of the issues reported since may 5th had been picked up... It had had me, and a few others on the board, worried.

AgentSam
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 14th May 2012 20:01
This issue has been posted: http://code.google.com/p/agk/issues/detail?id=306

Cheers,
Ancient Lady
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 16th May 2012 00:23
I has also been fixed (in build 1074)

I drink tea, and in my spare time I write software.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 16th May 2012 01:00
We love you!

Cheers,
Ancient Lady
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 16th May 2012 04:27
All part of the service (until I keel over)

I drink tea, and in my spare time I write software.

Login to post a reply

Server time is: 2024-04-27 13:28:36
Your offset time is: 2024-04-27 13:28:36