Changeset 679bcd in git


Ignore:
Timestamp:
Sep 20, 2010, 7:39:16 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
cf3808042943877e2ddb788b8ee0457117d4f891
Parents:
a572f276a3e2a1b701714ea2f87cfc43448a9d6d
Message:
datetime

git-svn-id: file:///usr/local/Singular/svn/trunk@13235 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/standard.lib

    ra572f2 r679bcd  
    2121 qslimgb(i)             computes a standard basis with slimgb in a qring
    2222 par2varRing([i])       create a ring making pars to vars, together with i
     23 datetime()             return date and time as a string
    2324
    2425";
     
    19911992
    19921993///////////////////////////////////////////////////////////////////////////////
     1994
     1995proc datetime()
     1996"SYNTAX: @code{datetime ()}
     1997RETURN:  string
     1998PURPOSE: return the curent date and time as a string
     1999EXAMPLE: example datetime; shows an example
     2000"
     2001{
     2002  return(read("|: date"));
     2003}
     2004example
     2005{ "EXAMPLE:"; echo=2;
     2006  datetime();
     2007}
     2008
     2009///////////////////////////////////////////////////////////////////////////////
    19932010// construct global values
    19942011static proc kbclass()
Note: See TracChangeset for help on using the changeset viewer.