AnsweredAssumed Answered

Get ( CurrentHostTimeStamp ) returns... text!

Question asked by fabricen on Dec 9, 2010
Latest reply on Feb 23, 2011 by TSGal

Summary

Get ( CurrentHostTimeStamp ) returns... text!

Product

FileMaker Pro

Version

11

Operating system version

OS X - 10.6

Description of the issue

If the host is set up with a 12 hour clock time (AM/PM) and the client has a 24 hour clock time, the result of Get ( CurrentHostTimeStamp ) is text.

Steps to reproduce the problem

- set up the host and client with appropriate time settings
- create a file with a timestamp field and a script that declares a variable with Get ( CurrentHostTimeStamp ) and sets the field to the variable.

ooops... it fails.

Expected result

Get ( CurrentHostTimeStamp ) should return a timestamp in any case.

Workaround

use GetAsTimeStamp ( Get ( CurrentHostTimeStamp ))

Outcomes