×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    2

    Question Is it possible to set the actual time in a query ?

    Hi folx, i have written a little proggie to enter my "shiftblock" in my phones calendar. therefore i predefined certain blocks, which i can choose. After choosing i have to enter the start date of the block. I use the following codeline:

    Block_Start = appuifw.query(u"1. Tag des Blocks", "date")

    But with every call the starttime will be 01.01.1970 UNIXTIME. Is it possible to call the appuifw.query with a predefined date such as 01.02.2011 instead of 01.01.1970 ?

    Thx in advance

    Rhonin

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Is it possible to set the actual time in a query ?

    Hi,

    The documentation (pys60.garage.maemo.org) says you can specify a 3rd argument to the query function, which is the number of seconds since 1/1/1970. That will be the default value.

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    2

    Re: Is it possible to set the actual time in a query ?

    Thank you bodgan :-) This was the kind of information i was looking for.

Similar Threads

  1. Replies: 1
    Last Post: 2010-12-15, 08:08
  2. Replies: 4
    Last Post: 2010-02-09, 13:53
  3. Is it possible to control audio and video at the same time?
    By leeling in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2007-04-05, 12:16
  4. Replies: 0
    Last Post: 2006-09-25, 14:32
  5. Is it possible to set Inquiry Scan Window time?
    By harriscd in forum Bluetooth Technology
    Replies: 0
    Last Post: 2004-09-27, 11:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×