Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
185 user(s) are online (170 user(s) are browsing Forums)

Members: 0
Guests: 185

more...

Support us!

Headlines

 
  Register To Post  

Request to MorphOS users
Home away from home
Home away from home


See User information
I have a little request for someone using MorphOS (SDK installed, but not mandatory)

I'd like to ask to try two different commands in shell:

The first one
Quote:

date "+%d.%m.%Y"

and the second one (you probably need the sdk installed for that)
Quote:

gdate "+%d.%m.%Y"


If the first one breaks with something like this
Quote:

DATE: Bad args
- use DD-MMM-YY or <dayname> or yesterday etc. to set date.
- use HH:MM:SS or HH:MM to set time.

and the second one displays the correct date (like below) is all i need to know.
Quote:

01.11.2021

Thank you in advance

Go to top
Re: Request to MorphOS users
Just popping in
Just popping in


See User information
@Raziel@Raziel

Hi, here is my output. I have lastest SDK installed.

Quote:

Ram Disk:> date "+%d.%m.%Y"
***Bad args:
- use DD-MMM-YY or <dayname> or yesterday etc. to set date
HH:MM:SS or HH:MM to set time
Ram Disk:> gdate "+%d.%m.%Y"
gdate: Unknown command
Ram Disk:>

PowerBook 5.2 MorphOS 3.15
PowerBook 5.8 MorphOS 3.17
Amiga 1200 BPPC/BVision AOS4.1 FE
Go to top
Re: Request to MorphOS users
Home away from home
Home away from home


See User information
@emeck

Thank you.

Could you take a look in SDK:local/c and see if gdate is available?

Go to top
Re: Request to MorphOS users
Just popping in
Just popping in


See User information
@Raziel

I have no SDK:local/c but SDK:gg/bin/ (and also "gg:bin" and "bin:" assigns). No gdate command there but there is date. Your command works with this but not with the one in C:

Quote:

Ram Disk:> version c:date
Date 50.6
Ram Disk:> c:date "+%d.%m.%Y"
***Bad args:
- use DD-MMM-YY or <dayname> or yesterday etc. to set date
HH:MM:SS or HH:MM to set time
Ram Disk:> version System:Development/gg/bin/date
Could not find version information for 'System:Development/gg/bin/date'
Ram Disk:> System:Development/gg/bin/date "+%d.%m.%Y"
01.11.2021
Ram Disk:>

PowerBook 5.2 MorphOS 3.15
PowerBook 5.8 MorphOS 3.17
Amiga 1200 BPPC/BVision AOS4.1 FE
Go to top
Re: Request to MorphOS users
Home away from home
Home away from home


See User information
@emeck

Ah, i see.
MorphOS comes with a different SDK setup.

That solves my problem.

Thank you very much

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project