
tiagomacul
Mega Sage
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
12-17-2017
05:07 AM
Exemplo query por data
var ObjDate = new GlideDateTime();
ObjDate.addSeconds(60);
var dt = ObjDate.getDisplayValue();
gs.print(dt);
var Obj = new GlideRecord("u_minha_tabela");
Obj.addQuery('sys_created_on','<',ObjDate);s
Obj.orderByDesc('sys_created_on');
Obj.query();
while(Obj.next()){
gs.print(Obj.sys_created_on);
}
Scripts::. Exemplo como adicionar tempo/segundos a uma data?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.