Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to IFDC FileGate Project(sm) Intern...  <--  <--- Return to Home Page
   Networked Database  IFDC FileGate Project(sm) Intern...   [41 / 68] RSS
 From   To   Subject   Date/Time 
Message   Gert Andersen    Janis Kracht   Some over haching   January 6, 2017
 6:37 PM *  

 * Reply to message originally in area CarbonArea

Hello Janis!

Fri Jan 06 2017, Janis Kracht wrote to Gert Andersen:

 JK>I haven't had a problem with the date, Gert..

 JK>I use this in my script:

 JK>num=`date +%j --date=Friday`
 JK>pick=`expr substr $num 2 3`
 JK>year=`date +%Y`
 JK>lastwk=$(($num -7))
 JK>lpick=`expr substr $lastwk 2 3`

 JK>Then I use the appropriate var where I need it.

 JK>Hope this helps..

I thinking on then too on how I by linux can manage a dos command as
example 'if not then copy else'
if not exist lnxr500.${num} then copy lnxr500.006 to a dir lnxr500.${num} else
copy lnxr500.${num} to dir\
The script get the julian day and then is it on by checking some segment files
and copy them to daily segment files, so latest and newest segment is there to
makenl use the rights segment to the dailylist.


  Take care,
            Gert

      - Get the best with linux - 

--- Msged/LNX 6.2.0 (Linux/2.6.39-gentoo-r1 (x86_64))
 * Origin: KofoBBS at ftp://fido0.kofobbs.net (2:230/150)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to IFDC FileGate Project(sm) Intern...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.1326 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_jigpe0jhnv278ljdrqcgvmhhc5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_jigpe0jhnv278ljdrqcgvmhhc5, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_jigpe0jhnv278ljdrqcgvmhhc5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0