Community

FLL - DateTime

Is it possible to call the current DateTime using the advanced FLL?

Was this article helpful?

0 out of 0 found this helpful

Comments

2 comments

  • Avatar
    Permanently deleted user
    Hello,

    Not directly in FLL but you can use the SQL Statement GETDATE() to get this information from an SQL Server.
    For example the following code will get the current date time for an sql server.

    String connection = "Enter ConnectionString here";
    String select = "SELECT GETDATE() AS CurrentDateTime";
    String searchString;

    PrepareRecordset( connection, select);
    StringArray recordArray = Record(connection, select, 0);
    searchString = recordArray.GetAt(0);
    print(searchString);
    SearchText: searchString;


    I hope this helps you further.




    0
  • Avatar
    TripleD
    Works a treat. Thank you
    0

Please sign in to leave a comment.