User Tag List

Results 1 to 1 of 1

Thread: Detect Date Format function

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Detect Date Format function

    Here's a function that will detect the date format based on the region settings set in Windows. When localising your application to different regions you may want to display dates in a format the user will instantly recognise.

    Americans use the format MM/DD/YYYY, while Europeans use DD/MM/YYYY. Chinese use YYYY/MM/DD. There's even some variation in the delimiter. Hungarians use YYYY.MM.DD, while India uses DD-MM-YYYY.

    The file only requires the string parser 2 object and the calendar object. The calendar object may have to be upgraded to version 1.1 otherwise you may get some weird effects in the Frame Editor, you can do that by clicking reinstall in the Extension Manager (ensure you haven't got any application open with calendar object or you'll get a file-in-use error).
    Attached files Attached files

Similar Threads

  1. Detecting the date format
    By Ryan in forum Fusion 2.5
    Replies: 3
    Last Post: 21st October 2014, 07:51 AM
  2. [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
  3. Format de date
    By ouly in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd April 2010, 03:31 PM
  4. Displaying the Date in 05/05/2006 format
    By Wingamez in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 17th August 2006, 05:42 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
  •