SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Can we print date and time stamp in the script

    Hi,

    I want to print the date and timestamp in my script using RR_printf. Is there any function like sysdate in QA load to print the date and time stamp wherever i want.

    Thnak you in advance

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Location
    Michigan, USA
    Posts
    840
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Can we print date and time stamp in the script

    Yes, the DATE_TIME function...
    A problem is a difference between what is perceived and what is desired, that
    we want to reduce
    (Dewey 1933)

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Can we print date and time stamp in the script

    Hi,

    I took the code from the help.I am using the same in my script at one point of time.But for me date is not being displayed

    char *temp = NULL;

    temp = DATE_TIME("Today is %A, day %d of %B in the year %Y.");

    RR__printf(temp);
    free(temp);

    Can you please help in this.

    Thank you in advance

    Its working fine.
    I modified code as RR__printf("%S",temp);

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:22 PM.

Copyright BetaSoft Inc.