Hi mark_h and rahul ingale,
Sorry for the late reply. mark_h, I've tried using the utc.num() in the LN 10.4 and it displays what I've needed. Thanks a lot
Also thanks rahul ingale, I used your sample date.num and I've searched it in Baanboard and thanks to that I used it in my another problem when creating a customize session.
This is a part of code/query looks like in my customize session.
utc.to.date(whinr140.idat, ayr, amh, ady, ahr, ame, asd)
utc.to.date(utc.num(), cyr, cmh, cdy, chr, cme, csd)
age = date.to.num(ayr, amh, ady) - date.to.num(cyr, cmh, cdy)
Thanks again guys and also to Baanboard,