Script
Action()
{
// handle an event such as an error or important message including a timestamp
lr_save_datetime("%m/%d/%Y %I:%M:%S %p", DATE_NOW, "now");
lr_output_message(lr_eval_string("{now}: My important message here."));
// Format codes for lr_save_datetime
// %a day of week, using locale's abbreviated weekday names
// %A day of week, using locale's full weekday names
// %b month, using locale's abbreviated month names
// %B month, using locale's full month names
// %c date and time as %x %X
// %d day of month (01-31)
// %H hour (00-23)
// %I hour (00-12)
// %j number of day in year (001-366)
// %m month number (01-12)
// %M minute (00-59)
// %p locale's equivalent of AM or PM, whichever is appropriate
// %S seconds (00-59)
// %U week number of year (01-52), Sunday is the first day of the week. Week number 01 is the first week with four or more January days in it.
// %w day of week; Sunday is day 0
// %W week number of year (01-52), Monday is the first day of the week. Week number 01 is the first week with four or more January days in it.
// %x date, using locale's date format
// %X time, using locale's time format
// %y year within century (00-99)
// %Y year, including century (for example, 1988)
// %Z time zone abbreviation
// %% to include the "%" character in your output string
return 0;
}
Console Output
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(29): 09/13/2012 02:56:41 PM: My important message here.
Ending action Action.
Ending iteration 1.
Amazing post! Hands-on ui ux design course
ReplyDeletebuilds skills that shine in real design projects.
An iOS dev course helps learners master app development. It focuses on structured learning. Practice improves implementation. Projects enhance experience. This ios dev course supports careers. It is reliable.
ReplyDeleteA best ios development course provides high-quality training with expert guidance. It emphasizes real-world application building. This best ios development course supports professional success. It is reliable.
ReplyDelete"Great post! Our ui ux design course
ReplyDeletecovers everything from wireframing to prototyping, helping you design user-centric digital experiences that stand out."