Sponsored Content
Full Discussion: change date on OpenBoot
Top Forums UNIX for Dummies Questions & Answers change date on OpenBoot Post 33020 by minazk on Thursday 12th of December 2002 10:52:38 PM
Old 12-12-2002
I think its not possible to change the date, timezone etc... from the OpenBoot prompt.
OpenBoot understand neither Solaris file systems nor files. It is a very primitive system that mainly deals with the hardware devices and not high-level objects like file-systems and files.

~MK
minazk
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How I can reset Ultra 5 OpenBoot

I'm trying to configure Ultra 5 workstation to be accessed by Win HyperTerminal. I make this change on open boot : setenv input-device ttya setenv output-device ttya boot After that, I can't acess by HyperTerminal and the keyboard / monitor don't work anymore. Anyone... (2 Replies)
Discussion started by: ubriaco
2 Replies

2. Solaris

Get openboot version without going to PROM

Hi there How do i get the openboot version from within solaris 8-sparc. i cant seem to run "banner" or ".version" using eeprom cheers (2 Replies)
Discussion started by: hcclnoodles
2 Replies

3. UNIX for Dummies Questions & Answers

Move A File With Same Date,don't Change The Desitination Dir Date

Assume, I created one file three years back and I like to move the file to some other directory with the old date (Creation date)? Is it possible? Explain? (1 Reply)
Discussion started by: jee.ku2
1 Replies

4. UNIX for Advanced & Expert Users

OpenBoot Loading Problem

I am using a SunBlade 100 system and accidently set a new alias for keyboard, now when it start it gives the following error, The selected input device has no read routine. Keyboard not present using ttya for input and output. Now i cannot execute any commands on the OBP and i just gets... (3 Replies)
Discussion started by: sumwhriblong
3 Replies

5. Solaris

OpenBoot Simulator

Hi, I would like to know if it's possible find a openboot simulator for solaris to can practice some exercices Thanks a lot and sorry for my english! (11 Replies)
Discussion started by: mierdatuti
11 Replies

6. Solaris

Openboot does not display

Hey guys I just inherited a sun netra 210 from an old Avaya system we had setup and I want to use i for studying for my SCSA/OCA exams but I'm running into alot of problems installing SOL 10 on here. I have no experience with SUN hardware at all but familiar with Solaris. It has SOL 9 but no one... (7 Replies)
Discussion started by: blackmantis
7 Replies

7. Shell Programming and Scripting

Change the content of files but not change the date

I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies

8. Shell Programming and Scripting

Change the content of files but not change the date

I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Discussion started by: ust3
7 Replies

9. Solaris

Update OpenBoot Prom from CD

Hello, I have a sun v880 that i got from ebay for cheap as a way to to learn Solaris and sun hardware in general. The machine currently has OBP 4.7.0 2002/10/25 and i was wondering if there was a way to update the prom with out and active solaris install, as currently when i proceed with the... (29 Replies)
Discussion started by: pvibien
29 Replies

10. UNIX for Beginners Questions & Answers

How to change existing date to current date in a filename?

Suppose i have a list of files in a directory as mentioned below 1. Shankar_04152019_ny.txt 2. Gopi_shan_03122019_mi.txt 3. Siva_mourya_02242019_nd.txt .. . . . . 1000 . Jiva_surya_02282019_nd.txt query : At one shot i want to modify the above all filenames present in one path with... (4 Replies)
Discussion started by: Shankar455
4 Replies
DATE_DEFAULT_TIMEZONE_GET(3)						 1					      DATE_DEFAULT_TIMEZONE_GET(3)

date_default_timezone_get - Gets the default timezone used by all date/time functions in a script

SYNOPSIS
string date_default_timezone_get (void ) DESCRIPTION
In order of preference, this function returns the default timezone by: o Reading the timezone set using the date_default_timezone_set(3) function (if any) o Prior to PHP 5.4.0 only: Reading the $TZ environment variable (if non empty) o Reading the value of the date.timezone ini option (if set) o Prior to PHP 5.4.0 only: Querying the host operating system (if supported and allowed by the OS). This uses an algorithm that has to guess the time- zone. This is by no means going to work correctly for every situation. A warning is shown when this stage is reached. Do not rely on it to be guessed correctly, and set date.timezone to the correct timezone instead. If none of the above succeed, date_default_timezone_get will return a default timezone of UTC. RETURN VALUES
Returns a string. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.4.0 | | | | | | | The TZ environment variable is no longer used to | | | guess the timezone. | | | | | 5.4.0 | | | | | | | The timezone is no longer guessed from informa- | | | tion available through the operating system as | | | the guessed timezone can not be relied on. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 Getting the default timezone <?php date_default_timezone_set('Europe/London'); if (date_default_timezone_get()) { echo 'date_default_timezone_set: ' . date_default_timezone_get() . '<br />'; } if (ini_get('date.timezone')) { echo 'date.timezone: ' . ini_get('date.timezone'); } ?> The above example will output something similar to: date_default_timezone_set: Europe/London date.timezone: Europe/London Example #2 Getting the abbreviation of a timezone <?php date_default_timezone_set('America/Los_Angeles'); echo date_default_timezone_get() . ' => ' . date('e') . ' => ' . date('T'); ?> The above example will output: America/Los_Angeles => America/Los_Angeles => PST SEE ALSO
date_default_timezone_set(3), "List of Supported Timezones". PHP Documentation Group DATE_DEFAULT_TIMEZONE_GET(3)
All times are GMT -4. The time now is 12:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy