Now ( )

Function stats

Average user rating
37
287
9999
Support
FileMaker 7.0 +
Date posted
10 December 2010
Version
1
Recursive function
No

Author Info
 Fabrice

70 functions

Average Rating 4.4

author_avatar



 

Function overview

Prototype

Now  (  )


Parameters

No parameters for this function.


Description

Tags:  Variables   TimeStamp  

Returns the current host timestamp... as a timestamp!

This is a very basic function to work around a strange behaviour of FileMaker.
If the host is set up with a 12 hour clock time (AM/PM) and the client with a 24 hour clock time, Get ( CurrentHostTimeStamp ) returns text (although the documentation says it should be a timestamp).

This function simply ensures you get a timestamp.

Examples

Sample input

Now


Sample output

10/12/2010 06:55:07

 

Function code

/* Now ()

by Fabrice Nordmann
1-more-thing

http://www.1-more-thing.com

v1 - Dec 2010

Returns the current host timestamp... as a timestamp!

This is a very basic function to work around a strange behaviour of FileMaker.
If the host is set up with a 12 hour clock time (AM/PM) and the client with a 24 hour clock time, Get ( CurrentHostTimeStamp ) returns text (although the documentation says it should be a timestamp).

This function simply ensures you get a timestamp.
*/

GetAsTimeStamp ( Get ( CurrentHostTimeStamp ))


// ===================================
/*

    This function is published on FileMaker Custom Functions
    to check for updates and provide feedback and bug reports
    please visit http://www.fmfunctions.com/fid/287

    Prototype: Now( )
    Function Author: Fabrice (http://www.fmfunctions.com/mid/37)
    Last updated: 10 December 2010
    Version: 1

*/
// ===================================

 

 

 

 

 

 

 

Top Tags

Text Parsing  (31)
Date  (26)
List  (26)
Format  (23)
XML  (22)
Sql  (18)
Dev  (18)
Debug  (15)
Interface  (13)
Text  (13)
Layout  (12)
Variables  (12)
Filter  (10)
Design  (10)
Layout Objects  (8)
Timestamp  (7)