Extracting the Date and Time from a TimeStamp

Version 2




    Mac OS X, Windows
    Todd Duell
    FMP 9, 10, 11
    Formulations Pro
    Web: No
    File Type: FP7
    Server: Yes
    FileSize: ~ .66 megabytes


    The TimeStamp function is a great tool for logging record creation, record modification, and electronic signature timestamps. However, sometimes you need to extract just the date or just the time. Rather than trying to parse the Date and Time, for which parsing the Time takes a little extra thought because it is actually 2 words (12:42:58 and PM), using the GetAsDate and GetAsTime functions work significantly easier and are also self-documenting calculations.




    Sample Input

    Sample Output

    Developer's Notes

    See sample file for full demo and technical article.


    FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.