diff options
Diffstat (limited to 'main.v')
| -rw-r--r-- | main.v | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ module main +import time + fn main() { println('Welcome to vbackup!') + println('Current timestamp: ' + get_timestamp()) +} + +fn get_timestamp() string { + now := time.now() + return now.format_rfc3339() } + + |
