Get Current Date & Time from server

Tonie_CATonie_CA Member Posts: 6
Dear All,

As i know if i using 'Date' and 'Today' from C/AL programing, i just get Curr Date & Time from Client. What i want is getting Curr Date & Time from server. i dont know is there any speceal function from NAV can get that value ? may be someone can help me to solve my problem. It's urgent for implementing my project. Thanks :)

Rgrd,
Tonipo
PT. Citrathirza Astarijaya

Comments

  • nunomaianunomaia Member Posts: 1,153
    You are using SQL then you can make a query to SQL Server and obtain current server date.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Have a look at this thread: how to get Server date?
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Tonie_CATonie_CA Member Posts: 6
    Thank you Mr. Luc Van Dyck, ur solution helping me alot :)

    Rgrd,
    Tonipo
    PT. Citrathirza Astarijaya
Sign In or Register to comment.