explanation for your needs.
Regards,
G. Kalyana Sundaram
-
Hi All,
Can anybody tell me what's the API to retreive the current date and time
from the Palm OS version 3.5 and above?
Thanks and regards,
Sangita
--
Hi All,
Can anybody tell me what's the API to retreive the current date and time from
the Palm OS version 3.5 and above?
Thanks and regards,
Sangita
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
D]>
> > Date: Mon, 11 Mar 2002 11:53:02 -0800
> > To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> > Subject: Get Current Date - HOWTO
> >
> > Sent the email out too fast! My question should be - how does one get the
> > current date o
Read over the Time Manager function. TimGetSeconds in particular.
- Original Message -
From: "Edward P. Ross" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 2:53 PM
Subject: Get Current Date - HOWTO
&g
[EMAIL PROTECTED]>
> Organization: Acrocat Software
> Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Date: Mon, 11 Mar 2002 11:53:02 -0800
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Subject: Get Current Date - HOWTO
>
> Sent the ema
Sent the email out too fast! My question should be - how does one get the current
date on the Palm Device?
Thanks,
Ed.
John Leung wrote:
> Did you initialize thisDay.month, etc... to a valid date first? If not,
> you'll get an error.
--
For information on using the Palm Devel
The below will do the current time, the current date works pretty much the
same... Get the date format from prefs and use DateToAscii to make a string
out of it.
DateTimeType dt;
TimeFormatType timeFormat;
Char strTime[timeStringLength];
//get the time in seconds from 1904 and make a
hi
can anybody tell me how can i get current date and time to display on a
form
- Original Message -
From: "Ben Combee" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Saturday, October 27, 2001 11:45 A
Hi Jason
> I'm developing a pqa. I want to dynamically fill a select list based on the current
>year.
>
> Is there anyway I can retrieve the current year with a system call to the PalmOS &
>dynamically fill the html list?
use UInt32 TimGetSecounds() to get the seconds since 1/1/1904
and TimSe
I'm developing a pqa. I want to dynamically fill a select list based on the current year.
Is there anyway I can retrieve the current year with a system call to the PalmOS & dynamically fill the html list?
ThanksGet your FREE download of MSN Explorer at http://explorer.msn.com
--
For informat
t the seconds since 1/1/1904
DateInSec = TimGetSeconds ();
// gets the date and time to the_date (we don't use the time)
TimSecondsToDateTime ( DateInSec , &the_date );
// convert the secounds to the current date
//DateSecondsToDate ( DateInSec, the_date );
// convert the date to a strin
can use any of the DateTime functions
>> within the PalmOS API.
>
>And there are types that hold just the date or just the time, too, that
>are a lot smaller.
>
>You probably need the TimGetSeconds() function to get the current date
>and time in seconds since 1/1/1904. You
etSeconds() function to get the current date
and time in seconds since 1/1/1904. You can convert that to a
DateTimeType using TimSecondsToDateTime().
Cheers,
Jim Cooper
_
Jim Cooper [EMAIL PROTECTED]
Tabdee Ltd http://www.tabdee.ltd.uk
Yes. Check out the DateTime.h header file. The date is stored in a DateTimeType
structure, and
you can use any of the DateTime functions within the PalmOS API.
-Rus
On 12/11/00 at 6:02 PM LarryLu wrote:
>Hi
>
>I was wondering if there is an API to get the current date
>and tim
Hi
I was wondering if there is an API to get the current date
and time. I'm sure there has to be one, but the only thing
I saw in the ref doc was the Date and Time selector, which
from the documentation, isn't what I want. I'm looking for
something like GetDate() that will jus
I need to display the current date without doing a submit though.
Collin R. Mulliner (list account) wrote in message <19767@palm-dev-forum>...
>
>
>
>
>
>
>At 20:47 02.08.00 -0700, you wrote:
>>How do I display the current date on a PQA file?
>>
>&
At 20:47 02.08.00 -0700, you wrote:
>How do I display the current date on a PQA file?
>
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the P
How do I display the current date on a PQA file?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
; Para: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Asunto: Retriving and storing current date
>
> Hi All!
>
> Hopefully this is very simple...but I can't find it anywhere. I want to
> offer a full version of my software for a limited (3 week) time period
>
; Para: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Asunto: Retriving and storing current date
>
> Hi All!
>
> Hopefully this is very simple...but I can't find it anywhere. I want to
> offer a full version of my software for a limited (3 week) time period
>
From: "Lorri Sloane" <[EMAIL PROTECTED]>
> But what command to I use to retrive the system date?
There are several Palm functions that deal with date and time.
You might try using TimDateTimeToSeconds(DateTimePtr dtp) and
DateSecondsToDate(UInt32 secs, DatePtr dp).
See chapter 25 (Time manage
TimGetSeconds()
The rest of the TimXXX routines can convert the seconds to whatever you
need.
-Original Message-
From: Lorri Sloane <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Wednesday, April 26, 2000 2:45 PM
Subject: Retriving and storing curren
>Hopefully this is very simple...but I can't find it anywhere. I want to
>offer a full version of my software for a limited (3 week) time period
>before requiring registration. It seems that I'll have to do is copy the
>current date (at the time of first run) to a pre
Hi All!
Hopefully this is very simple...but I can't find it anywhere. I want to
offer a full version of my software for a limited (3 week) time period
before requiring registration. It seems that I'll have to do is copy the
current date (at the time of first run) to a prefs fiel
24 matches
Mail list logo