July 8, 200521 yr Does anyone know a way/function (in FM7) to grab the time from the server rather than the user's computer?
July 8, 200521 yr Author Thanks. That works very well. Is there a similar function to get the date from the server?
July 8, 200521 yr Yes, rather simple, but in case someone else reads this thread and wants to know - this works for me ... Calculation result should be date: LeftWords( Get ( CurrentHostTimeStamp ) ; 1 )
July 8, 200521 yr How about: GetAsTime ( Get ( CurrentHostTimeStamp ) ) and GetAsDate ( Get ( CurrentHostTimeStamp ) )
July 8, 200521 yr Author Actually, you don't even need to parse the timestamp. If you choose calculation result in either "Date' or "Time", you will get date or time only . This worked perfectly for creation date and time of a record. How about modification?
Create an account or sign in to comment