Getting current time of day - InfoPath Dev
in

InfoPath Dev

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: Previous Next
  • 09-01-2009 08:57 AM

    Getting current time of day

    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

    Re: Getting current time of day

    substring-after(now(), "T")

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 09-01-2009 11:03 PM In reply to

    Re: Getting current time of day

    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 Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.