RobinCC
7 years agoQrew Cadet
URL button to update a Date/Time field always shows the time as 12:00 AM
I have a URL button that when pressed takes the value in Time/Date Field #1 and inserts the value into Time/Date Field #2, however, the time portion of Field #2 always shows as 12:00 AM and not the time that shows in Field #1. For example, if the value in Field #1 is: 03-22-2019 6:18 PM, and I press the button, the resulting value in Field #2 will be: 03-22-2019 12:00 AM. It does this every time. Is it simply not possible to transfer the correct Date/Time in this manner or am I doing something wrong? For the record, the button is located in the parent table called Tasks and the child table where the record is being modified is in the Logs table. Below is my URL formula:
URLRoot() & "db/" & [_DBID_LOGS] & "?a=API_EditRecord"& "&rid="& [Max Record ID# Current User]& "&_fid_7=" & [Max Date Modified Current User] & "&rdr=" & URLEncode(URLRoot() & "db/" & [_DBID_TASKS] & "?a=q&qid=20"
Thanks
URLRoot() & "db/" & [_DBID_LOGS] & "?a=API_EditRecord"& "&rid="& [Max Record ID# Current User]& "&_fid_7=" & [Max Date Modified Current User] & "&rdr=" & URLEncode(URLRoot() & "db/" & [_DBID_TASKS] & "?a=q&qid=20"
Thanks