User Tag List

Results 1 to 5 of 5

Thread: MMF2 - Getting and Setting System Time and Date

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,461
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    MMF2 - Getting and Setting System Time and Date

    I have added the Date and Time Object to my application. How do you get it to read the system date and time?

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,461
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 - Getting and Setting System Time and Date

    It appears the SuperFunction may be an option or I could write a Lua script to do it.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Location
    Suffolk, UK
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 - Getting and Setting System Time and Dat

    I'm pretty sure that to get it to read the system date and time with the Date object all you do is get it from an expression with the expression editor. For example, I used it to enter the date into an ini file and used the expression:
    Set value "Join Date" to Str$(day of month of( "Date" ))+" - "+Str$(month of( "Date" ))+" - "+Str$(year of( "Date" ))

    where the day, month and year came from the Retrieve data from object button actions.
    Didn't need to do anything else with it first, it just automatically grabs it from the system.

    Haven't tried to set the system date and time though but from the help file it looks like it's possible.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 - Getting and Setting System Time and Dat

    I'm using it in a game I'm working on. It sets itself automatically to your computers system time and date.


  5. #5
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,461
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 - Getting and Setting System Time and Dat

    Yes, OOJ you are correct. I noticed that today. Thanks.

Similar Threads

  1. [RC7] Date&Time Bug (MFA and APK)
    By Koji_Kabuto in forum Android Export Module Version 2.0
    Replies: 7
    Last Post: 25th April 2013, 01:53 AM
  2. [RC6] Date&Time Bug (MFA and APK)
    By Koji_Kabuto in forum Android Export Module Version 2.0
    Replies: 8
    Last Post: 4th April 2013, 12:26 PM
  3. [bug] Date&time object doesn't show date
    By qenio in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 19th March 2012, 09:49 PM
  4. date & time
    By xiero in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 6th November 2010, 10:28 PM
  5. Date and Time object bug Build #244 MMF2
    By joewski in forum File Archive
    Replies: 0
    Last Post: 7th March 2007, 08:14 PM

Posting Permissions

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