Sha256: ad7969ee8f951e38a3e6e4b481a02206af97f645ad1a598a40a6564724cdb25c

Contents?: true

Size: 396 Bytes

Versions: 396

Compression:

Stored size: 396 Bytes

Contents

create or replace package gigasecond#
is
  function since (
    i_date                                        date
  ) return date;
end gigasecond#;
/
 
create or replace package body gigasecond#
is
  function since (
    i_date                                        date
  ) return date
  is
  begin
    return trunc(i_date + 1.0 / 24 / 60 / 60 * power(10, 9));
  end since;
end gigasecond#;
/

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.158 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.157 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.156 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.155 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.154 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.153 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.152 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.151 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.150 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.149 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.148 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.147 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.146 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.145 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.144 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.143 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.142 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.141 tracks/plsql/exercises/gigasecond/example.plsql
trackler-2.2.1.140 tracks/plsql/exercises/gigasecond/example.plsql