Back to index

plt-scheme  4.2.1
Functions
Date+Time.cc File Reference
#include "wx.h"
#include <signal.h>
#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>

Go to the source code of this file.

Functions

char * wxNow (void)

Function Documentation

char* wxNow ( void  )

Definition at line 35 of file Date+Time.cc.

{
    time_t now;
    char *date;
    now = time(NULL);
    date = ctime(&now); 
    date[24] = '\0';
    return date;
}