Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.basic.misc > Newsgroup comp.lang.basic.visual.database

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-15-2007, 01:24 PM
HBO
Guest
 
Posts: n/a
Default Yabasic

Can someone provide an example on how to create an expiry date (date +
365) in YABASIC

Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 10-16-2007, 10:31 AM
Markus Hoffmann
Guest
 
Posts: n/a
Default Re: Yabasic

Hi Helmut,

> Can someone provide an example on how to create an expiry date (date +
> 365) in YABASIC



Well, If I guess right, what you want, you should look for
julian and juldate.

Then this will do:
print juldate$(julian(date$)+356)

so long
Markus
Reply With Quote
  #3 (permalink)  
Old 10-17-2007, 11:34 AM
HBO
Guest
 
Posts: n/a
Default Re: Yabasic

On 16 okt, 12:31, Markus Hoffmann <m.hoffm...@uni-bonn.de> wrote:
> Hi Helmut,
>
> > Can someone provide an example on how to create an expiry date (date +
> > 365) in YABASIC

>
> Well, If I guess right, what you want, you should look for
> julian and juldate.
>
> Then this will do:
> print juldate$(julian(date$)+356)
>
> so long
> Markus


Hi Markus,

I gave it a try, but no success.
Julian date is aperently not recognised in Yabasic.

any more ideas ...?

THX
Helmut

Reply With Quote
  #4 (permalink)  
Old 10-18-2007, 06:22 AM
Bill Marcum
Guest
 
Posts: n/a
Default Re: Yabasic

On 2007-10-15, HBO <helmut.borremans@gmail.com> wrote:
> Can someone provide an example on how to create an expiry date (date +
> 365) in YABASIC
>

print mid$(date$,3,6)+str$(val(mid$(date$,9,4))+1)
10-18-2008
Reply With Quote
  #5 (permalink)  
Old 10-18-2007, 08:40 AM
news@rtrussell.co.uk
Guest
 
Posts: n/a
Default Re: Yabasic

On Oct 18, 7:22 am, Bill Marcum <marcumb...@bellsouth.net> wrote:
> print mid$(date$,3,6)+str$(val(mid$(date$,9,4))+1)


That's no good if the current date happens to be 29th February 2008!

Richard.
http://www.rtrussell.co.uk/
To reply by email change 'news' to my forename.

Reply With Quote
  #6 (permalink)  
Old 10-18-2007, 10:55 AM
Nameless
Guest
 
Posts: n/a
Default Re: Yabasic

"HBO" <helmut.borremans@gmail.com> wrote in message
news:1192620841.497618.193790@e34g2000pro.googlegr oups.com...
> On 16 okt, 12:31, Markus Hoffmann <m.hoffm...@uni-bonn.de> wrote:
>> Hi Helmut,
>>
>> > Can someone provide an example on how to create an expiry date (date +
>> > 365) in YABASIC

>>
>> Well, If I guess right, what you want, you should look for
>> julian and juldate.
>>
>> Then this will do:
>> print juldate$(julian(date$)+356)

>
> I gave it a try, but no success.
> Julian date is aperently not recognised in Yabasic.
>
> any more ideas ...?


See http://www.tondering.dk/claus/calendar.html

Read, learn and then program your own date functions.

--
Mail sent to this email address is deleted unread
on the server. Please send replies to the newsgroup.


Reply With Quote
  #7 (permalink)  
Old 10-19-2007, 09:29 AM
HBO
Guest
 
Posts: n/a
Default Re: Yabasic

On 18 okt, 12:55, "Nameless" <news.m...@chello.no> wrote:
> "HBO" <helmut.borrem...@gmail.com> wrote in message
>
> news:1192620841.497618.193790@e34g2000pro.googlegr oups.com...
>
>
>
>
>
> > On 16 okt, 12:31, Markus Hoffmann <m.hoffm...@uni-bonn.de> wrote:
> >> Hi Helmut,

>
> >> > Can someone provide an example on how to create an expiry date (date +
> >> > 365) in YABASIC

>
> >> Well, If I guess right, what you want, you should look for
> >> julian and juldate.

>
> >> Then this will do:
> >> print juldate$(julian(date$)+356)

>
> > I gave it a try, but no success.
> > Julian date is aperently not recognised in Yabasic.

>
> > any more ideas ...?

>
> Seehttp://www.tondering.dk/claus/calendar.html
>
> Read, learn and then program your own date functions.
>
> --
> Mail sent to this email address is deleted unread
> on the server. Please send replies to the newsgroup.- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -


Hey Guys,

GREAT !
Working perfectly!!

THX
Helmut

Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 02:50 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.