Getting current time of day - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » Getting current time of day Getting current time of day Last post 09-01-2009 11:03 PM by Qazi Anis. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 09-01-2009 08:57 AM MatthewM Joined on 08-25-2009 Posts 2 Getting current time of day Reply Contact I'm designing a form that (for various reasons) has separate "Date" and "Time" fields that I would like to autopoulate with the time the form was filled out. I can get the "date" using the "today()" function.How can I get the current time, without a date attached to it? 09-01-2009 10:06 AM In reply to Qazi Anis Joined on 03-13-2009 Chicago Posts 1,025 Re: Getting current time of day Mark as Not AnswerMark as Answer... Reply Contact substring-after(now(), "T") Qazi AnisTechnical ArchitectBitwise Inc 09-01-2009 11:03 PM In reply to Qazi Anis Joined on 03-13-2009 Chicago Posts 1,025 Re: Getting current time of day Mark as Not AnswerMark as Answer... Reply Contact i was busy last time i posted, i hope this solved your problem go to the properties of the field where you want time to be populate. and in the value field click Fx, use functions to get the below line substring-after(now(), "T") Qazi AnisTechnical ArchitectBitwise Inc Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
I'm designing a form that (for various reasons) has separate "Date" and "Time" fields that I would like to autopoulate with the time the form was filled out.
I can get the "date" using the "today()" function.
How can I get the current time, without a date attached to it?
substring-after(now(), "T")
i was busy last time i posted, i hope this solved your problem
go to the properties of the field where you want time to be populate. and in the value field click Fx,
use functions to get the below line