User Tag List

Results 1 to 2 of 2

Thread: Get a file dates

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Get a file dates

    I tried to get a file dates using the File object.

    However, the File object returned date as DD/MM/YY style.
    I want to retrieve a date of YYYY/MM/DD style. Is that possible?

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    If years are expected to be 2000AD+,

    "20"+Right$([date], 2)+"/"+Mid$([date], 2, 2)+"/"+Left$([date], 2)

    otherwise you'd need to calculate whether to use "20" or "19" at the start
    (that was what caused the whole Y2K scare)

Similar Threads

  1. Calendar Between Dates or AND Operator
    By Kracker in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 9th April 2012, 03:46 AM
  2. Compare dates
    By Bogeyman in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 10th September 2011, 03:45 PM
  3. Sorting by dates
    By crugh in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st October 2007, 12:59 AM
  4. Whats up with the dates on the forum?
    By joewski in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 12th September 2006, 10:33 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
  •